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