#5A2F68 - Imperial Purple
Hex color #5A2F68 is called Imperial Purple. It consists of 35% red, 18% green, and 41% blue in RGB color space. In CMYK it is 13% cyan, 55% magenta, 0% yellow, and 59% black. In HSL it is 285° hue, 38% saturation, and 30% 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 | Imperial Purple | — |
| HEX | #5A2F68 | #5A2F68 |
| HEXA | #5A2F68FF | #5A2F68FF |
| RGB | 90, 47, 104 | rgb(90, 47, 104) |
| RGBA | 90, 47, 104, 1 | rgba(90, 47, 104, 1) |
| HSL | 285%, 38%, 30% | hsl(285%, 38%, 30%) |
| CMYK | 13%, 55%, 0%, 59% | cmyk(13%, 55%, 0%, 59%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 30% (dark) | — |
Negative color
The color opposite to #5A2F68 is #A5D097.
Preview on black and white
As #5A2F68 has 30% lightness, this color is dark, so it has more contrast with white.
#5A2F68 On White Background
#5A2F68
#5A2F68
Text Color
This is how text looks with this color.
#5A2F68 On Black Background
#5A2F68
#5A2F68
Text Color
This is how text looks with this color.
Transform color
90, 47, 104rgb(90, 47, 104)