#422eba
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 | #422eba | |
| RGB | rgb(66 46 186) | |
| HSL | hsl(248.57 60.34% 45.49%) | |
| OKLCH | oklch(0.43 0.21 279.63) | |
| CMYK | cmyk(64.52% 75.27% 0% 27.06%) | |
| Android | #ff422eba |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
9.00:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.33: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="#422eba"
Gradient stop
<stop stop-color="#422eba"/>
CSS variable + fill
:root { --c: #422eba; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #422eba; background-color: #422eba; bg-[#422eba]