#542C87 - Night Fever
Hex color #542C87 is called Night Fever. It consists of 33% red, 17% green, and 53% blue in RGB color space. In CMYK it is 38% cyan, 67% magenta, 0% yellow, and 47% black. In HSL it is 266° hue, 51% saturation, and 35% 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 | Night Fever | — |
| HEX | #542C87 | #542C87 |
| HEXA | #542C87FF | #542C87FF |
| RGB | 84, 44, 135 | rgb(84, 44, 135) |
| RGBA | 84, 44, 135, 1 | rgba(84, 44, 135, 1) |
| HSL | 266%, 51%, 35% | hsl(266%, 51%, 35%) |
| CMYK | 38%, 67%, 0%, 47% | cmyk(38%, 67%, 0%, 47%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 35% (dark) | — |
Negative color
The color opposite to #542C87 is #ABD378.
Preview on black and white
As #542C87 has 35% lightness, this color is dark, so it has more contrast with white.
#542C87 On White Background
#542C87
#542C87
Text Color
This is how text looks with this color.
#542C87 On Black Background
#542C87
#542C87
Text Color
This is how text looks with this color.
Transform color
84, 44, 135rgb(84, 44, 135)