#820372
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 | #820372 | |
| RGB | rgb(130 3 114) | |
| HSL | hsl(307.56 95.49% 26.08%) | |
| OKLCH | oklch(0.42 0.18 335.13) | |
| CMYK | cmyk(0% 97.69% 12.31% 49.02%) | |
| Android | #ff820372 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
9.52:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.20: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="#820372"
Gradient stop
<stop stop-color="#820372"/>
CSS variable + fill
:root { --c: #820372; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #820372; background-color: #820372; bg-[#820372]