#b41ed4
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 | #b41ed4 | |
| RGB | rgb(180 30 212) | |
| HSL | hsl(289.45 75.21% 47.45%) | |
| OKLCH | oklch(0.57 0.26 319.23) | |
| CMYK | cmyk(15.09% 85.85% 0% 16.86%) | |
| Android | #ffb41ed4 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.15:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.07:1
Fail AA normal text
Pass 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="#b41ed4"
Gradient stop
<stop stop-color="#b41ed4"/>
CSS variable + fill
:root { --c: #b41ed4; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b41ed4; background-color: #b41ed4; bg-[#b41ed4]