#652f7a
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 | #652f7a | |
| RGB | rgb(101 47 122) | |
| HSL | hsl(283.2 44.38% 33.14%) | |
| OKLCH | oklch(0.41 0.13 315.44) | |
| CMYK | cmyk(17.21% 61.48% 0% 52.16%) | |
| Android | #ff652f7a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
9.37:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.24: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="#652f7a"
Gradient stop
<stop stop-color="#652f7a"/>
CSS variable + fill
:root { --c: #652f7a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #652f7a; background-color: #652f7a; bg-[#652f7a]