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