#50007a
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 | #50007a | |
| RGB | rgb(80 0 122) | |
| HSL | hsl(279.34 100% 23.92%) | |
| OKLCH | oklch(0.34 0.17 307.59) | |
| CMYK | cmyk(34.43% 100% 0% 52.16%) | |
| Android | #ff50007a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
12.94:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.62: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="#50007a"
Gradient stop
<stop stop-color="#50007a"/>
CSS variable + fill
:root { --c: #50007a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #50007a; background-color: #50007a; bg-[#50007a]