#481d9f
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 | #481d9f | |
| RGB | rgb(72 29 159) | |
| HSL | hsl(259.85 69.15% 36.86%) | |
| OKLCH | oklch(0.39 0.19 289.15) | |
| CMYK | cmyk(54.72% 81.76% 0% 37.65%) | |
| Android | #ff481d9f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
10.75:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.95: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="#481d9f"
Gradient stop
<stop stop-color="#481d9f"/>
CSS variable + fill
:root { --c: #481d9f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #481d9f; background-color: #481d9f; bg-[#481d9f]