#5d116a
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 | #5d116a | |
| RGB | rgb(93 17 106) | |
| HSL | hsl(291.24 72.36% 24.12%) | |
| OKLCH | oklch(0.36 0.15 321.16) | |
| CMYK | cmyk(12.26% 83.96% 0% 58.43%) | |
| Android | #ff5d116a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
11.97:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.75: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="#5d116a"
Gradient stop
<stop stop-color="#5d116a"/>
CSS variable + fill
:root { --c: #5d116a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #5d116a; background-color: #5d116a; bg-[#5d116a]