#552e89
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 | #552e89 | |
| RGB | rgb(85 46 137) | |
| HSL | hsl(265.71 49.73% 35.88%) | |
| OKLCH | oklch(0.4 0.14 299.49) | |
| CMYK | cmyk(37.96% 66.42% 0% 46.27%) | |
| Android | #ff552e89 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
9.82:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.13: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="#552e89"
Gradient stop
<stop stop-color="#552e89"/>
CSS variable + fill
:root { --c: #552e89; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #552e89; background-color: #552e89; bg-[#552e89]