#20148e
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 | #20148e | |
| RGB | rgb(32 20 142) | |
| HSL | hsl(245.9 75.31% 31.76%) | |
| OKLCH | oklch(0.32 0.18 273.31) | |
| CMYK | cmyk(77.46% 85.92% 0% 44.31%) | |
| Android | #ff20148e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
13.53:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.55: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="#20148e"
Gradient stop
<stop stop-color="#20148e"/>
CSS variable + fill
:root { --c: #20148e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #20148e; background-color: #20148e; bg-[#20148e]