#645989
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 | #645989 | |
| RGB | rgb(100 89 137) | |
| HSL | hsl(253.75 21.24% 44.31%) | |
| OKLCH | oklch(0.49 0.08 293.95) | |
| CMYK | cmyk(27.01% 35.04% 0% 46.27%) | |
| Android | #ff645989 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.30:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.33: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="#645989"
Gradient stop
<stop stop-color="#645989"/>
CSS variable + fill
:root { --c: #645989; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #645989; background-color: #645989; bg-[#645989]