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