#502F72 - Mystic Nights
Hex color #502F72 is called Mystic Nights. It consists of 31% red, 18% green, and 45% blue in RGB color space. In CMYK it is 30% cyan, 59% magenta, 0% yellow, and 55% black. In HSL it is 270° hue, 42% saturation, and 32% 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 | Mystic Nights | — |
| HEX | #502F72 | #502F72 |
| HEXA | #502F72FF | #502F72FF |
| RGB | 80, 47, 114 | rgb(80, 47, 114) |
| RGBA | 80, 47, 114, 1 | rgba(80, 47, 114, 1) |
| HSL | 270%, 42%, 32% | hsl(270%, 42%, 32%) |
| CMYK | 30%, 59%, 0%, 55% | cmyk(30%, 59%, 0%, 55%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 32% (dark) | — |
Negative color
The color opposite to #502F72 is #AFD08D.
Preview on black and white
As #502F72 has 32% lightness, this color is dark, so it has more contrast with white.
#502F72 On White Background
#502F72
#502F72
Text Color
This is how text looks with this color.
#502F72 On Black Background
#502F72
#502F72
Text Color
This is how text looks with this color.
Transform color
80, 47, 114rgb(80, 47, 114)