#602baa
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 | #602baa | |
| RGB | rgb(96 43 170) | |
| HSL | hsl(265.04 59.62% 41.76%) | |
| OKLCH | oklch(0.44 0.19 296.77) | |
| CMYK | cmyk(43.53% 74.71% 0% 33.33%) | |
| Android | #ff602baa |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
8.66:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.42: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="#602baa"
Gradient stop
<stop stop-color="#602baa"/>
CSS variable + fill
:root { --c: #602baa; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #602baa; background-color: #602baa; bg-[#602baa]