#52255e
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 | #52255e | |
| RGB | rgb(82 37 94) | |
| HSL | hsl(287.37 43.51% 25.69%) | |
| OKLCH | oklch(0.35 0.11 318.76) | |
| CMYK | cmyk(12.77% 60.64% 0% 63.14%) | |
| Android | #ff52255e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
11.76:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.78: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="#52255e"
Gradient stop
<stop stop-color="#52255e"/>
CSS variable + fill
:root { --c: #52255e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #52255e; background-color: #52255e; bg-[#52255e]