#501082
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 | #501082 | |
| RGB | rgb(80 16 130) | |
| HSL | hsl(273.68 78.08% 28.63%) | |
| OKLCH | oklch(0.36 0.17 303.44) | |
| CMYK | cmyk(38.46% 87.69% 0% 49.02%) | |
| Android | #ff501082 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
12.08:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.73: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="#501082"
Gradient stop
<stop stop-color="#501082"/>
CSS variable + fill
:root { --c: #501082; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #501082; background-color: #501082; bg-[#501082]