#5A34A6 - Royalty
Hex color #5A34A6 is called Royalty. It consists of 35% red, 20% green, and 65% blue in RGB color space. In CMYK it is 46% cyan, 69% magenta, 0% yellow, and 35% black. In HSL it is 260° hue, 52% saturation, and 43% 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 | Royalty | — |
| HEX | #5A34A6 | #5A34A6 |
| HEXA | #5A34A6FF | #5A34A6FF |
| RGB | 90, 52, 166 | rgb(90, 52, 166) |
| RGBA | 90, 52, 166, 1 | rgba(90, 52, 166, 1) |
| HSL | 260%, 52%, 43% | hsl(260%, 52%, 43%) |
| CMYK | 46%, 69%, 0%, 35% | cmyk(46%, 69%, 0%, 35%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 43% (dark) | — |
Negative color
The color opposite to #5A34A6 is #A5CB59.
Preview on black and white
As #5A34A6 has 43% lightness, this color is dark, so it has more contrast with white.
#5A34A6 On White Background
#5A34A6
#5A34A6
Text Color
This is how text looks with this color.
#5A34A6 On Black Background
#5A34A6
#5A34A6
Text Color
This is how text looks with this color.
Transform color
90, 52, 166rgb(90, 52, 166)