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