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