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