#552b86
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 | #552b86 | |
| RGB | rgb(85 43 134) | |
| HSL | hsl(267.69 51.41% 34.71%) | |
| OKLCH | oklch(0.39 0.15 301.13) | |
| CMYK | cmyk(36.57% 67.91% 0% 47.45%) | |
| Android | #ff552b86 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
10.11:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.07: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="#552b86"
Gradient stop
<stop stop-color="#552b86"/>
CSS variable + fill
:root { --c: #552b86; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #552b86; background-color: #552b86; bg-[#552b86]