#644f9b
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 | #644f9b | |
| RGB | rgb(100 79 155) | |
| HSL | hsl(256.58 32.48% 45.88%) | |
| OKLCH | oklch(0.49 0.12 294.25) | |
| CMYK | cmyk(35.48% 49.03% 0% 39.22%) | |
| Android | #ff644f9b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.70:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.13: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="#644f9b"
Gradient stop
<stop stop-color="#644f9b"/>
CSS variable + fill
:root { --c: #644f9b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #644f9b; background-color: #644f9b; bg-[#644f9b]