#48018a
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 | #48018a | |
| RGB | rgb(72 1 138) | |
| HSL | hsl(271.09 98.56% 27.25%) | |
| OKLCH | oklch(0.34 0.19 297.18) | |
| CMYK | cmyk(47.83% 99.28% 0% 45.88%) | |
| Android | #ff48018a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
12.75:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.64: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="#48018a"
Gradient stop
<stop stop-color="#48018a"/>
CSS variable + fill
:root { --c: #48018a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #48018a; background-color: #48018a; bg-[#48018a]