#6e1aaa
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 | #6e1aaa | |
| RGB | rgb(110 26 170) | |
| HSL | hsl(275 73.47% 38.43%) | |
| OKLCH | oklch(0.44 0.21 305.08) | |
| CMYK | cmyk(35.29% 84.71% 0% 33.33%) | |
| Android | #ff6e1aaa |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
8.78:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.39: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="#6e1aaa"
Gradient stop
<stop stop-color="#6e1aaa"/>
CSS variable + fill
:root { --c: #6e1aaa; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #6e1aaa; background-color: #6e1aaa; bg-[#6e1aaa]