#4C428A - Moonlight Sonata
Hex color #4C428A is called Moonlight Sonata. It consists of 30% red, 26% green, and 54% blue in RGB color space. In CMYK it is 45% cyan, 52% magenta, 0% yellow, and 46% black. In HSL it is 248° hue, 35% 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 | #4C428A | #4C428A |
| HEXA | #4C428AFF | #4C428AFF |
| RGB | 76, 66, 138 | rgb(76, 66, 138) |
| RGBA | 76, 66, 138, 1 | rgba(76, 66, 138, 1) |
| HSL | 248%, 35%, 40% | hsl(248%, 35%, 40%) |
| CMYK | 45%, 52%, 0%, 46% | cmyk(45%, 52%, 0%, 46%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 40% (dark) | — |
Negative color
The color opposite to #4C428A is #B3BD75.
Preview on black and white
As #4C428A has 40% lightness, this color is dark, so it has more contrast with white.
#4C428A On White Background
#4C428A
#4C428A
Text Color
This is how text looks with this color.
#4C428A On Black Background
#4C428A
#4C428A
Text Color
This is how text looks with this color.
Transform color
76, 66, 138rgb(76, 66, 138)