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