#552b8f
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 | #552b8f | |
| RGB | rgb(85 43 143) | |
| HSL | hsl(265.2 53.76% 36.47%) | |
| OKLCH | oklch(0.4 0.16 298.26) | |
| CMYK | cmyk(40.56% 69.93% 0% 43.92%) | |
| Android | #ff552b8f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
9.86:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.12: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="#552b8f"
Gradient stop
<stop stop-color="#552b8f"/>
CSS variable + fill
:root { --c: #552b8f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #552b8f; background-color: #552b8f; bg-[#552b8f]