#542F8A - Night Fever
Hex color #542F8A is called Night Fever. It consists of 33% red, 18% green, and 54% blue in RGB color space. In CMYK it is 39% cyan, 66% magenta, 0% yellow, and 46% black. In HSL it is 264° hue, 49% saturation, and 36% 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 | #542F8A | #542F8A |
| HEXA | #542F8AFF | #542F8AFF |
| RGB | 84, 47, 138 | rgb(84, 47, 138) |
| RGBA | 84, 47, 138, 1 | rgba(84, 47, 138, 1) |
| HSL | 264%, 49%, 36% | hsl(264%, 49%, 36%) |
| CMYK | 39%, 66%, 0%, 46% | cmyk(39%, 66%, 0%, 46%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 36% (dark) | — |
Negative color
The color opposite to #542F8A is #ABD075.
Preview on black and white
As #542F8A has 36% lightness, this color is dark, so it has more contrast with white.
#542F8A On White Background
#542F8A
#542F8A
Text Color
This is how text looks with this color.
#542F8A On Black Background
#542F8A
#542F8A
Text Color
This is how text looks with this color.
Transform color
84, 47, 138rgb(84, 47, 138)