#371c80
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 | #371c80 | |
| RGB | rgb(55 28 128) | |
| HSL | hsl(256.2 64.1% 30.59%) | |
| OKLCH | oklch(0.33 0.16 287.06) | |
| CMYK | cmyk(57.03% 78.13% 0% 49.8%) | |
| Android | #ff371c80 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
12.80:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.64: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="#371c80"
Gradient stop
<stop stop-color="#371c80"/>
CSS variable + fill
:root { --c: #371c80; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #371c80; background-color: #371c80; bg-[#371c80]