#581e54
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 | #581e54 | |
| RGB | rgb(88 30 84) | |
| HSL | hsl(304.14 49.15% 23.14%) | |
| OKLCH | oklch(0.35 0.11 330.48) | |
| CMYK | cmyk(0% 65.91% 4.55% 65.49%) | |
| Android | #ff581e54 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
12.14:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.72: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="#581e54"
Gradient stop
<stop stop-color="#581e54"/>
CSS variable + fill
:root { --c: #581e54; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #581e54; background-color: #581e54; bg-[#581e54]