#541a67
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 | #541a67 | |
| RGB | rgb(84 26 103) | |
| HSL | hsl(285.19 59.69% 25.29%) | |
| OKLCH | oklch(0.35 0.13 316.47) | |
| CMYK | cmyk(18.45% 74.76% 0% 59.61%) | |
| Android | #ff541a67 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
12.20:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.72: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="#541a67"
Gradient stop
<stop stop-color="#541a67"/>
CSS variable + fill
:root { --c: #541a67; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #541a67; background-color: #541a67; bg-[#541a67]