#6e12cd
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 | #6e12cd | |
| RGB | rgb(110 18 205) | |
| HSL | hsl(269.52 83.86% 43.73%) | |
| OKLCH | oklch(0.47 0.24 296.73) | |
| CMYK | cmyk(46.34% 91.22% 0% 19.61%) | |
| Android | #ff6e12cd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.98:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.63: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="#6e12cd"
Gradient stop
<stop stop-color="#6e12cd"/>
CSS variable + fill
:root { --c: #6e12cd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #6e12cd; background-color: #6e12cd; bg-[#6e12cd]