#6342db
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 | #6342db | |
| RGB | rgb(99 66 219) | |
| HSL | hsl(252.94 68% 55.88%) | |
| OKLCH | oklch(0.51 0.22 285.57) | |
| CMYK | cmyk(54.79% 69.86% 0% 14.12%) | |
| Android | #ff6342db |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.30:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.33: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="#6342db"
Gradient stop
<stop stop-color="#6342db"/>
CSS variable + fill
:root { --c: #6342db; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #6342db; background-color: #6342db; bg-[#6342db]