#540168 - God of Nights
Hex color #540168 is called God of Nights. It consists of 33% red, 0% green, and 41% blue in RGB color space. In CMYK it is 19% cyan, 99% magenta, 0% yellow, and 59% black. In HSL it is 288° hue, 98% saturation, and 21% 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 | God of Nights | — |
| HEX | #540168 | #540168 |
| HEXA | #540168FF | #540168FF |
| RGB | 84, 1, 104 | rgb(84, 1, 104) |
| RGBA | 84, 1, 104, 1 | rgba(84, 1, 104, 1) |
| HSL | 288%, 98%, 21% | hsl(288%, 98%, 21%) |
| CMYK | 19%, 99%, 0%, 59% | cmyk(19%, 99%, 0%, 59%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 21% (dark) | — |
Negative color
The color opposite to #540168 is #ABFE97.
Preview on black and white
As #540168 has 21% lightness, this color is dark, so it has more contrast with white.
#540168 On White Background
#540168
#540168
Text Color
This is how text looks with this color.
#540168 On Black Background
#540168
#540168
Text Color
This is how text looks with this color.
Transform color
84, 1, 104rgb(84, 1, 104)