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