#520367
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 | #520367 | |
| RGB | rgb(82 3 103) | |
| HSL | hsl(287.4 94.34% 20.78%) | |
| OKLCH | oklch(0.33 0.16 316.91) | |
| CMYK | cmyk(20.39% 97.09% 0% 59.61%) | |
| Android | #ff520367 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
13.39:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.56: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="#520367"
Gradient stop
<stop stop-color="#520367"/>
CSS variable + fill
:root { --c: #520367; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #520367; background-color: #520367; bg-[#520367]