#4e216a
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 | #4e216a | |
| RGB | rgb(78 33 106) | |
| HSL | hsl(276.99 52.52% 27.25%) | |
| OKLCH | oklch(0.35 0.13 309.77) | |
| CMYK | cmyk(26.42% 68.87% 0% 58.43%) | |
| Android | #ff4e216a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
12.00:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.74: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="#4e216a"
Gradient stop
<stop stop-color="#4e216a"/>
CSS variable + fill
:root { --c: #4e216a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4e216a; background-color: #4e216a; bg-[#4e216a]