#672dea
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 | #672dea | |
| RGB | rgb(103 45 234) | |
| HSL | hsl(258.41 81.82% 54.71%) | |
| OKLCH | oklch(0.51 0.25 287.11) | |
| CMYK | cmyk(55.98% 80.77% 0% 8.24%) | |
| Android | #ff672dea |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.68:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.14: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="#672dea"
Gradient stop
<stop stop-color="#672dea"/>
CSS variable + fill
:root { --c: #672dea; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #672dea; background-color: #672dea; bg-[#672dea]