#46115e
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 | #46115e | |
| RGB | rgb(70 17 94) | |
| HSL | hsl(281.3 69.37% 21.76%) | |
| OKLCH | oklch(0.31 0.13 312.53) | |
| CMYK | cmyk(25.53% 81.91% 0% 63.14%) | |
| Android | #ff46115e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
13.97:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.50: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="#46115e"
Gradient stop
<stop stop-color="#46115e"/>
CSS variable + fill
:root { --c: #46115e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #46115e; background-color: #46115e; bg-[#46115e]