#6c1951
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 | #6c1951 | |
| RGB | rgb(108 25 81) | |
| HSL | hsl(319.52 62.41% 26.08%) | |
| OKLCH | oklch(0.37 0.13 344.01) | |
| CMYK | cmyk(0% 76.85% 25% 57.65%) | |
| Android | #ff6c1951 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
11.07:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.89: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="#6c1951"
Gradient stop
<stop stop-color="#6c1951"/>
CSS variable + fill
:root { --c: #6c1951; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #6c1951; background-color: #6c1951; bg-[#6c1951]