#321d4f
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 | #321d4f | |
| RGB | rgb(50 29 79) | |
| HSL | hsl(265.2 46.3% 21.18%) | |
| OKLCH | oklch(0.29 0.09 300.22) | |
| CMYK | cmyk(36.71% 63.29% 0% 69.02%) | |
| Android | #ff321d4f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
14.74:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.42: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="#321d4f"
Gradient stop
<stop stop-color="#321d4f"/>
CSS variable + fill
:root { --c: #321d4f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #321d4f; background-color: #321d4f; bg-[#321d4f]