#50428C - Moonlight Sonata
Hex color #50428C is called Moonlight Sonata. It consists of 31% red, 26% green, and 55% blue in RGB color space. In CMYK it is 43% cyan, 53% magenta, 0% yellow, and 45% black. In HSL it is 251° hue, 36% 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 | #50428C | #50428C |
| HEXA | #50428CFF | #50428CFF |
| RGB | 80, 66, 140 | rgb(80, 66, 140) |
| RGBA | 80, 66, 140, 1 | rgba(80, 66, 140, 1) |
| HSL | 251%, 36%, 40% | hsl(251%, 36%, 40%) |
| CMYK | 43%, 53%, 0%, 45% | cmyk(43%, 53%, 0%, 45%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 40% (dark) | — |
Negative color
The color opposite to #50428C is #AFBD73.
Preview on black and white
As #50428C has 40% lightness, this color is dark, so it has more contrast with white.
#50428C On White Background
#50428C
#50428C
Text Color
This is how text looks with this color.
#50428C On Black Background
#50428C
#50428C
Text Color
This is how text looks with this color.
Transform color
80, 66, 140rgb(80, 66, 140)