#6541cd
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 | #6541cd | |
| RGB | rgb(101 65 205) | |
| HSL | hsl(255.43 58.33% 52.94%) | |
| OKLCH | oklch(0.5 0.2 288.59) | |
| CMYK | cmyk(50.73% 68.29% 0% 19.61%) | |
| Android | #ff6541cd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.58:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.19: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="#6541cd"
Gradient stop
<stop stop-color="#6541cd"/>
CSS variable + fill
:root { --c: #6541cd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #6541cd; background-color: #6541cd; bg-[#6541cd]