#422ead
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 | #422ead | |
| RGB | rgb(66 46 173) | |
| HSL | hsl(249.45 57.99% 42.94%) | |
| OKLCH | oklch(0.41 0.19 281.34) | |
| CMYK | cmyk(61.85% 73.41% 0% 32.16%) | |
| Android | #ff422ead |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
9.43:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.22: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="#422ead"
Gradient stop
<stop stop-color="#422ead"/>
CSS variable + fill
:root { --c: #422ead; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #422ead; background-color: #422ead; bg-[#422ead]