#5c024a
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 | #5c024a | |
| RGB | rgb(92 2 74) | |
| HSL | hsl(312 95.74% 18.43%) | |
| OKLCH | oklch(0.32 0.14 339.07) | |
| CMYK | cmyk(0% 97.83% 19.57% 63.92%) | |
| Android | #ff5c024a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
13.43:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.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="#5c024a"
Gradient stop
<stop stop-color="#5c024a"/>
CSS variable + fill
:root { --c: #5c024a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #5c024a; background-color: #5c024a; bg-[#5c024a]