#5231ed
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 | #5231ed | |
| RGB | rgb(82 49 237) | |
| HSL | hsl(250.53 83.93% 56.08%) | |
| OKLCH | oklch(0.49 0.26 279.3) | |
| CMYK | cmyk(65.4% 79.32% 0% 7.06%) | |
| Android | #ff5231ed |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.95:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.02: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="#5231ed"
Gradient stop
<stop stop-color="#5231ed"/>
CSS variable + fill
:root { --c: #5231ed; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #5231ed; background-color: #5231ed; bg-[#5231ed]