#6924cb
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 | #6924cb | |
| RGB | rgb(105 36 203) | |
| HSL | hsl(264.79 69.87% 46.86%) | |
| OKLCH | oklch(0.47 0.23 294.06) | |
| CMYK | cmyk(48.28% 82.27% 0% 20.39%) | |
| Android | #ff6924cb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.73:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.71: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="#6924cb"
Gradient stop
<stop stop-color="#6924cb"/>
CSS variable + fill
:root { --c: #6924cb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #6924cb; background-color: #6924cb; bg-[#6924cb]