#46146e
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 | #46146e | |
| RGB | rgb(70 20 110) | |
| HSL | hsl(273.33 69.23% 25.49%) | |
| OKLCH | oklch(0.33 0.14 304.52) | |
| CMYK | cmyk(36.36% 81.82% 0% 56.86%) | |
| Android | #ff46146e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
13.24:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.58: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="#46146e"
Gradient stop
<stop stop-color="#46146e"/>
CSS variable + fill
:root { --c: #46146e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #46146e; background-color: #46146e; bg-[#46146e]