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