#4d43af
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 | #4d43af | |
| RGB | rgb(77 67 175) | |
| HSL | hsl(245.56 44.63% 47.45%) | |
| OKLCH | oklch(0.46 0.17 281.8) | |
| CMYK | cmyk(56% 61.71% 0% 31.37%) | |
| Android | #ff4d43af |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.67:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.73: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="#4d43af"
Gradient stop
<stop stop-color="#4d43af"/>
CSS variable + fill
:root { --c: #4d43af; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4d43af; background-color: #4d43af; bg-[#4d43af]