#6442cd
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 | #6442cd | |
| RGB | rgb(100 66 205) | |
| HSL | hsl(254.68 58.16% 53.14%) | |
| OKLCH | oklch(0.5 0.2 288.01) | |
| CMYK | cmyk(51.22% 67.8% 0% 19.61%) | |
| Android | #ff6442cd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.55:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.20: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="#6442cd"
Gradient stop
<stop stop-color="#6442cd"/>
CSS variable + fill
:root { --c: #6442cd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #6442cd; background-color: #6442cd; bg-[#6442cd]