#3f026e
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 | #3f026e | |
| RGB | rgb(63 2 110) | |
| HSL | hsl(273.89 96.43% 21.96%) | |
| OKLCH | oklch(0.3 0.16 301.73) | |
| CMYK | cmyk(42.73% 98.18% 0% 56.86%) | |
| Android | #ff3f026e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
14.53:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.44: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="#3f026e"
Gradient stop
<stop stop-color="#3f026e"/>
CSS variable + fill
:root { --c: #3f026e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #3f026e; background-color: #3f026e; bg-[#3f026e]