#562c70
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 | #562c70 | |
| RGB | rgb(86 44 112) | |
| HSL | hsl(277.06 43.59% 30.59%) | |
| OKLCH | oklch(0.38 0.12 310.51) | |
| CMYK | cmyk(23.21% 60.71% 0% 56.08%) | |
| Android | #ff562c70 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
10.55:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.98: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="#562c70"
Gradient stop
<stop stop-color="#562c70"/>
CSS variable + fill
:root { --c: #562c70; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #562c70; background-color: #562c70; bg-[#562c70]