#5b2dcf
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 | #5b2dcf | |
| RGB | rgb(91 45 207) | |
| HSL | hsl(257.04 64.29% 49.41%) | |
| OKLCH | oklch(0.47 0.23 286.81) | |
| CMYK | cmyk(56.04% 78.26% 0% 18.82%) | |
| Android | #ff5b2dcf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.71:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.72: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="#5b2dcf"
Gradient stop
<stop stop-color="#5b2dcf"/>
CSS variable + fill
:root { --c: #5b2dcf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #5b2dcf; background-color: #5b2dcf; bg-[#5b2dcf]