#472158
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 | #472158 | |
| RGB | rgb(71 33 88) | |
| HSL | hsl(281.45 45.45% 23.73%) | |
| OKLCH | oklch(0.33 0.1 314.12) | |
| CMYK | cmyk(19.32% 62.5% 0% 65.49%) | |
| Android | #ff472158 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
12.91:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.62: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="#472158"
Gradient stop
<stop stop-color="#472158"/>
CSS variable + fill
:root { --c: #472158; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #472158; background-color: #472158; bg-[#472158]