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