#421a57
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 | #421a57 | |
| RGB | rgb(66 26 87) | |
| HSL | hsl(279.34 53.98% 22.16%) | |
| OKLCH | oklch(0.31 0.11 311.88) | |
| CMYK | cmyk(24.14% 70.11% 0% 65.88%) | |
| Android | #ff421a57 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
13.84:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.51: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="#421a57"
Gradient stop
<stop stop-color="#421a57"/>
CSS variable + fill
:root { --c: #421a57; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #421a57; background-color: #421a57; bg-[#421a57]