#52458E - Moonlight Sonata
Hex color #52458E is called Moonlight Sonata. It consists of 32% red, 27% green, and 56% blue in RGB color space. In CMYK it is 42% cyan, 51% magenta, 0% yellow, and 44% black. In HSL it is 251° hue, 35% 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 | #52458E | #52458E |
| HEXA | #52458EFF | #52458EFF |
| RGB | 82, 69, 142 | rgb(82, 69, 142) |
| RGBA | 82, 69, 142, 1 | rgba(82, 69, 142, 1) |
| HSL | 251%, 35%, 41% | hsl(251%, 35%, 41%) |
| CMYK | 42%, 51%, 0%, 44% | cmyk(42%, 51%, 0%, 44%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 41% (dark) | — |
Negative color
The color opposite to #52458E is #ADBA71.
Preview on black and white
As #52458E has 41% lightness, this color is dark, so it has more contrast with white.
#52458E On White Background
#52458E
#52458E
Text Color
This is how text looks with this color.
#52458E On Black Background
#52458E
#52458E
Text Color
This is how text looks with this color.
Transform color
82, 69, 142rgb(82, 69, 142)