#55538f
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 | #55538f | |
| RGB | rgb(85 83 143) | |
| HSL | hsl(242 26.55% 44.31%) | |
| OKLCH | oklch(0.47 0.1 283.62) | |
| CMYK | cmyk(40.56% 41.96% 0% 43.92%) | |
| Android | #ff55538f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.95:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.02:1
Fail AA normal text
Pass 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="#55538f"
Gradient stop
<stop stop-color="#55538f"/>
CSS variable + fill
:root { --c: #55538f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #55538f; background-color: #55538f; bg-[#55538f]