#a0519d
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 | #a0519d | |
| RGB | rgb(160 81 157) | |
| HSL | hsl(302.28 32.78% 47.25%) | |
| OKLCH | oklch(0.56 0.14 328.7) | |
| CMYK | cmyk(0% 49.38% 1.87% 37.25%) | |
| Android | #ffa0519d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.04:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.15:1
Fail AA normal text
Pass 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="#a0519d"
Gradient stop
<stop stop-color="#a0519d"/>
CSS variable + fill
:root { --c: #a0519d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a0519d; background-color: #a0519d; bg-[#a0519d]