#330c91
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 | #330c91 | |
| RGB | rgb(51 12 145) | |
| HSL | hsl(257.59 84.71% 30.78%) | |
| OKLCH | oklch(0.33 0.19 282.73) | |
| CMYK | cmyk(64.83% 91.72% 0% 43.14%) | |
| Android | #ff330c91 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
13.10:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.60: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="#330c91"
Gradient stop
<stop stop-color="#330c91"/>
CSS variable + fill
:root { --c: #330c91; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #330c91; background-color: #330c91; bg-[#330c91]