#520679
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 | #520679 | |
| RGB | rgb(82 6 121) | |
| HSL | hsl(279.65 90.55% 24.9%) | |
| OKLCH | oklch(0.34 0.17 308.76) | |
| CMYK | cmyk(32.23% 95.04% 0% 52.55%) | |
| Android | #ff520679 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
12.64:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.66: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="#520679"
Gradient stop
<stop stop-color="#520679"/>
CSS variable + fill
:root { --c: #520679; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #520679; background-color: #520679; bg-[#520679]