#3a0366
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 | #3a0366 | |
| RGB | rgb(58 3 102) | |
| HSL | hsl(273.33 94.29% 20.59%) | |
| OKLCH | oklch(0.29 0.15 301.56) | |
| CMYK | cmyk(43.14% 97.06% 0% 60%) | |
| Android | #ff3a0366 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
15.16:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.38: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="#3a0366"
Gradient stop
<stop stop-color="#3a0366"/>
CSS variable + fill
:root { --c: #3a0366; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #3a0366; background-color: #3a0366; bg-[#3a0366]