#46046b
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 | #46046b | |
| RGB | rgb(70 4 107) | |
| HSL | hsl(278.45 92.79% 21.76%) | |
| OKLCH | oklch(0.31 0.15 307.48) | |
| CMYK | cmyk(34.58% 96.26% 0% 58.04%) | |
| Android | #ff46046b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
14.09:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.49: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="#46046b"
Gradient stop
<stop stop-color="#46046b"/>
CSS variable + fill
:root { --c: #46046b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #46046b; background-color: #46046b; bg-[#46046b]