#391e89
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 | #391e89 | |
| RGB | rgb(57 30 137) | |
| HSL | hsl(255.14 64.07% 32.75%) | |
| OKLCH | oklch(0.35 0.16 285.79) | |
| CMYK | cmyk(58.39% 78.1% 0% 46.27%) | |
| Android | #ff391e89 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
12.20:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.72: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="#391e89"
Gradient stop
<stop stop-color="#391e89"/>
CSS variable + fill
:root { --c: #391e89; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #391e89; background-color: #391e89; bg-[#391e89]