#5842A2 - Liberty
Hex color #5842A2 is called Liberty. It consists of 35% red, 26% green, and 64% blue in RGB color space. In CMYK it is 46% cyan, 59% magenta, 0% yellow, and 36% black. In HSL it is 254° hue, 42% saturation, and 45% 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 | Liberty | — |
| HEX | #5842A2 | #5842A2 |
| HEXA | #5842A2FF | #5842A2FF |
| RGB | 88, 66, 162 | rgb(88, 66, 162) |
| RGBA | 88, 66, 162, 1 | rgba(88, 66, 162, 1) |
| HSL | 254%, 42%, 45% | hsl(254%, 42%, 45%) |
| CMYK | 46%, 59%, 0%, 36% | cmyk(46%, 59%, 0%, 36%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 45% (dark) | — |
Negative color
The color opposite to #5842A2 is #A7BD5D.
Preview on black and white
As #5842A2 has 45% lightness, this color is dark, so it has more contrast with white.
#5842A2 On White Background
#5842A2
#5842A2
Text Color
This is how text looks with this color.
#5842A2 On Black Background
#5842A2
#5842A2
Text Color
This is how text looks with this color.
Transform color
88, 66, 162rgb(88, 66, 162)