#41315b
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 | #41315b | |
| RGB | rgb(65 49 91) | |
| HSL | hsl(262.86 30% 27.45%) | |
| OKLCH | oklch(0.35 0.07 300.23) | |
| CMYK | cmyk(28.57% 46.15% 0% 64.31%) | |
| Android | #ff41315b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
11.56:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.81: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="#41315b"
Gradient stop
<stop stop-color="#41315b"/>
CSS variable + fill
:root { --c: #41315b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #41315b; background-color: #41315b; bg-[#41315b]