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