#562d76
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 | #562d76 | |
| RGB | rgb(86 45 118) | |
| HSL | hsl(273.7 44.79% 31.96%) | |
| OKLCH | oklch(0.39 0.12 307.51) | |
| CMYK | cmyk(27.12% 61.86% 0% 53.73%) | |
| Android | #ff562d76 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
10.33:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.03: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="#562d76"
Gradient stop
<stop stop-color="#562d76"/>
CSS variable + fill
:root { --c: #562d76; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #562d76; background-color: #562d76; bg-[#562d76]