#a41fc4
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 | #a41fc4 | |
| RGB | rgb(164 31 196) | |
| HSL | hsl(288.36 72.69% 44.51%) | |
| OKLCH | oklch(0.54 0.24 318.38) | |
| CMYK | cmyk(16.33% 84.18% 0% 23.14%) | |
| Android | #ffa41fc4 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.87:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.57: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="#a41fc4"
Gradient stop
<stop stop-color="#a41fc4"/>
CSS variable + fill
:root { --c: #a41fc4; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a41fc4; background-color: #a41fc4; bg-[#a41fc4]