#651eaa
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 | #651eaa | |
| RGB | rgb(101 30 170) | |
| HSL | hsl(270.43 70% 39.22%) | |
| OKLCH | oklch(0.43 0.2 300.63) | |
| CMYK | cmyk(40.59% 82.35% 0% 33.33%) | |
| Android | #ff651eaa |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
9.05:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.31: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="#651eaa"
Gradient stop
<stop stop-color="#651eaa"/>
CSS variable + fill
:root { --c: #651eaa; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #651eaa; background-color: #651eaa; bg-[#651eaa]