#a41fa8
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 | #a41fa8 | |
| RGB | rgb(164 31 168) | |
| HSL | hsl(298.25 68.84% 39.02%) | |
| OKLCH | oklch(0.52 0.22 326.83) | |
| CMYK | cmyk(2.38% 81.55% 0% 34.12%) | |
| Android | #ffa41fa8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.28:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.33: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="#a41fa8"
Gradient stop
<stop stop-color="#a41fa8"/>
CSS variable + fill
:root { --c: #a41fa8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a41fa8; background-color: #a41fa8; bg-[#a41fa8]