#5e36cd
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 | #5e36cd | |
| RGB | rgb(94 54 205) | |
| HSL | hsl(255.89 60.16% 50.78%) | |
| OKLCH | oklch(0.48 0.22 287.3) | |
| CMYK | cmyk(54.15% 73.66% 0% 19.61%) | |
| Android | #ff5e36cd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.27:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.88:1
Fail AA normal text
Fail 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="#5e36cd"
Gradient stop
<stop stop-color="#5e36cd"/>
CSS variable + fill
:root { --c: #5e36cd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #5e36cd; background-color: #5e36cd; bg-[#5e36cd]