#591cab
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #591cab | |
| RGB | rgb(89 28 171) | |
| HSL | hsl(265.59 71.86% 39.02%) | |
| OKLCH | oklch(0.41 0.2 294.86) | |
| CMYK | cmyk(47.95% 83.63% 0% 32.94%) | |
| Android | #ff591cab |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
9.63:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.17:1
Fail AA normal text
Fail AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#591cab"
Gradient stop
<stop stop-color="#591cab"/>
CSS variable + fill
:root { --c: #591cab; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #591cab; background-color: #591cab; bg-[#591cab]