#841996
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 | #841996 | |
| RGB | rgb(132 25 150) | |
| HSL | hsl(291.36 71.43% 34.31%) | |
| OKLCH | oklch(0.45 0.2 321.18) | |
| CMYK | cmyk(12% 83.33% 0% 41.18%) | |
| Android | #ff841996 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
8.20:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.56: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="#841996"
Gradient stop
<stop stop-color="#841996"/>
CSS variable + fill
:root { --c: #841996; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #841996; background-color: #841996; bg-[#841996]