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