#490f7b
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 | #490f7b | |
| RGB | rgb(73 15 123) | |
| HSL | hsl(272.22 78.26% 27.06%) | |
| OKLCH | oklch(0.34 0.16 301.9) | |
| CMYK | cmyk(40.65% 87.8% 0% 51.76%) | |
| Android | #ff490f7b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
12.82:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.63: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="#490f7b"
Gradient stop
<stop stop-color="#490f7b"/>
CSS variable + fill
:root { --c: #490f7b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #490f7b; background-color: #490f7b; bg-[#490f7b]