#3a129b
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 | #3a129b | |
| RGB | rgb(58 18 155) | |
| HSL | hsl(257.52 79.19% 33.92%) | |
| OKLCH | oklch(0.36 0.19 283.9) | |
| CMYK | cmyk(62.58% 88.39% 0% 39.22%) | |
| Android | #ff3a129b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
12.07:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.73: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="#3a129b"
Gradient stop
<stop stop-color="#3a129b"/>
CSS variable + fill
:root { --c: #3a129b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #3a129b; background-color: #3a129b; bg-[#3a129b]