#524A8A - Moonlight Sonata
Hex color #524A8A is called Moonlight Sonata. It consists of 32% red, 29% green, and 54% blue in RGB color space. In CMYK it is 41% cyan, 46% magenta, 0% yellow, and 46% black. In HSL it is 248° hue, 30% 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 | #524A8A | #524A8A |
| HEXA | #524A8AFF | #524A8AFF |
| RGB | 82, 74, 138 | rgb(82, 74, 138) |
| RGBA | 82, 74, 138, 1 | rgba(82, 74, 138, 1) |
| HSL | 248%, 30%, 42% | hsl(248%, 30%, 42%) |
| CMYK | 41%, 46%, 0%, 46% | cmyk(41%, 46%, 0%, 46%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 42% (dark) | — |
Negative color
The color opposite to #524A8A is #ADB575.
Preview on black and white
As #524A8A has 42% lightness, this color is dark, so it has more contrast with white.
#524A8A On White Background
#524A8A
#524A8A
Text Color
This is how text looks with this color.
#524A8A On Black Background
#524A8A
#524A8A
Text Color
This is how text looks with this color.
Transform color
82, 74, 138rgb(82, 74, 138)