#a40dbf
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 | #a40dbf | |
| RGB | rgb(164 13 191) | |
| HSL | hsl(290.9 87.25% 40%) | |
| OKLCH | oklch(0.53 0.25 320.14) | |
| CMYK | cmyk(14.14% 93.19% 0% 25.1%) | |
| Android | #ffa40dbf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.19:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.38: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="#a40dbf"
Gradient stop
<stop stop-color="#a40dbf"/>
CSS variable + fill
:root { --c: #a40dbf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a40dbf; background-color: #a40dbf; bg-[#a40dbf]