#620987
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 | #620987 | |
| RGB | rgb(98 9 135) | |
| HSL | hsl(282.38 87.5% 28.24%) | |
| OKLCH | oklch(0.38 0.18 311.8) | |
| CMYK | cmyk(27.41% 93.33% 0% 47.06%) | |
| Android | #ff620987 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
11.00:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.90: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="#620987"
Gradient stop
<stop stop-color="#620987"/>
CSS variable + fill
:root { --c: #620987; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #620987; background-color: #620987; bg-[#620987]