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