#504690 - Moonlight Sonata
Hex color #504690 is called Moonlight Sonata. It consists of 31% red, 27% green, and 56% blue in RGB color space. In CMYK it is 44% cyan, 51% magenta, 0% yellow, and 44% black. In HSL it is 248° hue, 35% saturation, and 42% lightness (dark) . On this page you can get both color properties and CSS values for such color schemas: HEX, HEXA, RGB, RGBA, HSL, and CMYK; color name, CSS color name, tailwind name for color; shades and tints; monochromatic colors; negative color; and other info.
| Property | Value | CSS |
|---|---|---|
| Name | Moonlight Sonata | — |
| HEX | #504690 | #504690 |
| HEXA | #504690FF | #504690FF |
| RGB | 80, 70, 144 | rgb(80, 70, 144) |
| RGBA | 80, 70, 144, 1 | rgba(80, 70, 144, 1) |
| HSL | 248%, 35%, 42% | hsl(248%, 35%, 42%) |
| CMYK | 44%, 51%, 0%, 44% | cmyk(44%, 51%, 0%, 44%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 42% (dark) | — |
Negative color
The color opposite to #504690 is #AFB96F.
Preview on black and white
As #504690 has 42% lightness, this color is dark, so it has more contrast with white.
#504690 On White Background
#504690
#504690
Text Color
This is how text looks with this color.
#504690 On Black Background
#504690
#504690
Text Color
This is how text looks with this color.
Transform color
80, 70, 144rgb(80, 70, 144)