#422d83
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 | #422d83 | |
| RGB | rgb(66 45 131) | |
| HSL | hsl(254.65 48.86% 34.51%) | |
| OKLCH | oklch(0.37 0.14 289.26) | |
| CMYK | cmyk(49.62% 65.65% 0% 48.63%) | |
| Android | #ff422d83 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
10.85:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.93: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="#422d83"
Gradient stop
<stop stop-color="#422d83"/>
CSS variable + fill
:root { --c: #422d83; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #422d83; background-color: #422d83; bg-[#422d83]