#770366
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 | #770366 | |
| RGB | rgb(119 3 102) | |
| HSL | hsl(308.79 95.08% 23.92%) | |
| OKLCH | oklch(0.39 0.17 336.23) | |
| CMYK | cmyk(0% 97.48% 14.29% 53.33%) | |
| Android | #ff770366 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
10.55:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.98: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="#770366"
Gradient stop
<stop stop-color="#770366"/>
CSS variable + fill
:root { --c: #770366; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #770366; background-color: #770366; bg-[#770366]