#4722ba
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 | #4722ba | |
| RGB | rgb(71 34 186) | |
| HSL | hsl(254.61 69.09% 43.14%) | |
| OKLCH | oklch(0.42 0.22 283.02) | |
| CMYK | cmyk(61.83% 81.72% 0% 27.06%) | |
| Android | #ff4722ba |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
9.52:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.20: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="#4722ba"
Gradient stop
<stop stop-color="#4722ba"/>
CSS variable + fill
:root { --c: #4722ba; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4722ba; background-color: #4722ba; bg-[#4722ba]