#52247d
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 | #52247d | |
| RGB | rgb(82 36 125) | |
| HSL | hsl(271.01 55.28% 31.57%) | |
| OKLCH | oklch(0.37 0.14 303.82) | |
| CMYK | cmyk(34.4% 71.2% 0% 50.98%) | |
| Android | #ff52247d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
11.01:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.90: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="#52247d"
Gradient stop
<stop stop-color="#52247d"/>
CSS variable + fill
:root { --c: #52247d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #52247d; background-color: #52247d; bg-[#52247d]