#6237f4
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 | #6237f4 | |
| RGB | rgb(98 55 244) | |
| HSL | hsl(253.65 89.57% 58.63%) | |
| OKLCH | oklch(0.52 0.26 283.24) | |
| CMYK | cmyk(59.84% 77.46% 0% 4.31%) | |
| Android | #ff6237f4 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.22:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.37: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="#6237f4"
Gradient stop
<stop stop-color="#6237f4"/>
CSS variable + fill
:root { --c: #6237f4; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #6237f4; background-color: #6237f4; bg-[#6237f4]