#72018f
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 | #72018f | |
| RGB | rgb(114 1 143) | |
| HSL | hsl(287.75 98.61% 28.24%) | |
| OKLCH | oklch(0.41 0.2 316.69) | |
| CMYK | cmyk(20.28% 99.3% 0% 43.92%) | |
| Android | #ff72018f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
9.92:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.11: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="#72018f"
Gradient stop
<stop stop-color="#72018f"/>
CSS variable + fill
:root { --c: #72018f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #72018f; background-color: #72018f; bg-[#72018f]