#413173
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 | #413173 | |
| RGB | rgb(65 49 115) | |
| HSL | hsl(254.55 40.24% 32.16%) | |
| OKLCH | oklch(0.37 0.11 291.25) | |
| CMYK | cmyk(43.48% 57.39% 0% 54.9%) | |
| Android | #ff413173 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
10.98:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.91: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="#413173"
Gradient stop
<stop stop-color="#413173"/>
CSS variable + fill
:root { --c: #413173; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #413173; background-color: #413173; bg-[#413173]