#6e26cb
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 | #6e26cb | |
| RGB | rgb(110 38 203) | |
| HSL | hsl(266.18 68.46% 47.25%) | |
| OKLCH | oklch(0.48 0.23 295.94) | |
| CMYK | cmyk(45.81% 81.28% 0% 20.39%) | |
| Android | #ff6e26cb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.49:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.80: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="#6e26cb"
Gradient stop
<stop stop-color="#6e26cb"/>
CSS variable + fill
:root { --c: #6e26cb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #6e26cb; background-color: #6e26cb; bg-[#6e26cb]