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