#6c46bb
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 | #6c46bb | |
| RGB | rgb(108 70 187) | |
| HSL | hsl(259.49 46.25% 50.39%) | |
| OKLCH | oklch(0.5 0.18 294.08) | |
| CMYK | cmyk(42.25% 62.57% 0% 26.67%) | |
| Android | #ff6c46bb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.49:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.23: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="#6c46bb"
Gradient stop
<stop stop-color="#6c46bb"/>
CSS variable + fill
:root { --c: #6c46bb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #6c46bb; background-color: #6c46bb; bg-[#6c46bb]