#4e026a
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 | #4e026a | |
| RGB | rgb(78 2 106) | |
| HSL | hsl(283.85 96.3% 21.18%) | |
| OKLCH | oklch(0.32 0.16 313.14) | |
| CMYK | cmyk(26.42% 98.11% 0% 58.43%) | |
| Android | #ff4e026a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
13.62:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.54: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="#4e026a"
Gradient stop
<stop stop-color="#4e026a"/>
CSS variable + fill
:root { --c: #4e026a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4e026a; background-color: #4e026a; bg-[#4e026a]