#2f016a
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 | #2f016a | |
| RGB | rgb(47 1 106) | |
| HSL | hsl(266.29 98.13% 20.98%) | |
| OKLCH | oklch(0.28 0.15 292.1) | |
| CMYK | cmyk(55.66% 99.06% 0% 58.43%) | |
| Android | #ff2f016a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
15.75:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.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="#2f016a"
Gradient stop
<stop stop-color="#2f016a"/>
CSS variable + fill
:root { --c: #2f016a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #2f016a; background-color: #2f016a; bg-[#2f016a]