#4b113e
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 | #4b113e | |
| RGB | rgb(75 17 62) | |
| HSL | hsl(313.45 63.04% 18.04%) | |
| OKLCH | oklch(0.3 0.1 338.25) | |
| CMYK | cmyk(0% 77.33% 17.33% 70.59%) | |
| Android | #ff4b113e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
14.49:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.44: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="#4b113e"
Gradient stop
<stop stop-color="#4b113e"/>
CSS variable + fill
:root { --c: #4b113e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #4b113e; background-color: #4b113e; bg-[#4b113e]