#501773
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 | #501773 | |
| RGB | rgb(80 23 115) | |
| HSL | hsl(277.17 66.67% 27.06%) | |
| OKLCH | oklch(0.35 0.15 308.59) | |
| CMYK | cmyk(30.43% 80% 0% 54.9%) | |
| Android | #ff501773 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
12.27:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.71: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="#501773"
Gradient stop
<stop stop-color="#501773"/>
CSS variable + fill
:root { --c: #501773; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #501773; background-color: #501773; bg-[#501773]