#330c52
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 | #330c52 | |
| RGB | rgb(51 12 82) | |
| HSL | hsl(273.43 74.47% 18.43%) | |
| OKLCH | oklch(0.27 0.12 304.55) | |
| CMYK | cmyk(37.8% 85.37% 0% 67.84%) | |
| Android | #ff330c52 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
15.96:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.31: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="#330c52"
Gradient stop
<stop stop-color="#330c52"/>
CSS variable + fill
:root { --c: #330c52; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #330c52; background-color: #330c52; bg-[#330c52]