#54005f
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 | #54005f | |
| RGB | rgb(84 0 95) | |
| HSL | hsl(293.05 100% 18.63%) | |
| OKLCH | oklch(0.32 0.15 322.27) | |
| CMYK | cmyk(11.58% 100% 0% 62.75%) | |
| Android | #ff54005f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
13.61:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.54: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="#54005f"
Gradient stop
<stop stop-color="#54005f"/>
CSS variable + fill
:root { --c: #54005f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #54005f; background-color: #54005f; bg-[#54005f]