#643dc4
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 | #643dc4 | |
| RGB | rgb(100 61 196) | |
| HSL | hsl(257.33 53.36% 50.39%) | |
| OKLCH | oklch(0.49 0.2 290.34) | |
| CMYK | cmyk(48.98% 68.88% 0% 23.14%) | |
| Android | #ff643dc4 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.98:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.00: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="#643dc4"
Gradient stop
<stop stop-color="#643dc4"/>
CSS variable + fill
:root { --c: #643dc4; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #643dc4; background-color: #643dc4; bg-[#643dc4]