#370d52
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 | #370d52 | |
| RGB | rgb(55 13 82) | |
| HSL | hsl(276.52 72.63% 18.63%) | |
| OKLCH | oklch(0.27 0.12 307.86) | |
| CMYK | cmyk(32.93% 84.15% 0% 67.84%) | |
| Android | #ff370d52 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
15.64:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.34: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="#370d52"
Gradient stop
<stop stop-color="#370d52"/>
CSS variable + fill
:root { --c: #370d52; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #370d52; background-color: #370d52; bg-[#370d52]