#504491 - Moonlight Sonata
Hex color #504491 is called Moonlight Sonata. It consists of 31% red, 27% green, and 57% blue in RGB color space. In CMYK it is 45% cyan, 53% magenta, 0% yellow, and 43% black. In HSL it is 249° hue, 36% 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 | #504491 | #504491 |
| HEXA | #504491FF | #504491FF |
| RGB | 80, 68, 145 | rgb(80, 68, 145) |
| RGBA | 80, 68, 145, 1 | rgba(80, 68, 145, 1) |
| HSL | 249%, 36%, 42% | hsl(249%, 36%, 42%) |
| CMYK | 45%, 53%, 0%, 43% | cmyk(45%, 53%, 0%, 43%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 42% (dark) | — |
Negative color
The color opposite to #504491 is #AFBB6E.
Preview on black and white
As #504491 has 42% lightness, this color is dark, so it has more contrast with white.
#504491 On White Background
#504491
#504491
Text Color
This is how text looks with this color.
#504491 On Black Background
#504491
#504491
Text Color
This is how text looks with this color.
Transform color
80, 68, 145rgb(80, 68, 145)