#97239e
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 | #97239e | |
| RGB | rgb(151 35 158) | |
| HSL | hsl(296.59 63.73% 37.84%) | |
| OKLCH | oklch(0.49 0.2 325.53) | |
| CMYK | cmyk(4.43% 77.85% 0% 38.04%) | |
| Android | #ff97239e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.88:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.04:1
Fail AA normal text
Pass 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="#97239e"
Gradient stop
<stop stop-color="#97239e"/>
CSS variable + fill
:root { --c: #97239e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #97239e; background-color: #97239e; bg-[#97239e]