#665693
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 | #665693 | |
| RGB | rgb(102 86 147) | |
| HSL | hsl(255.74 26.18% 45.69%) | |
| OKLCH | oklch(0.5 0.1 294.7) | |
| CMYK | cmyk(30.61% 41.5% 0% 42.35%) | |
| Android | #ff665693 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.33:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.31: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="#665693"
Gradient stop
<stop stop-color="#665693"/>
CSS variable + fill
:root { --c: #665693; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #665693; background-color: #665693; bg-[#665693]