#641ba1
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 | #641ba1 | |
| RGB | rgb(100 27 161) | |
| HSL | hsl(272.69 71.28% 36.86%) | |
| OKLCH | oklch(0.42 0.2 302.97) | |
| CMYK | cmyk(37.89% 83.23% 0% 36.86%) | |
| Android | #ff641ba1 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
9.48:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.21: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="#641ba1"
Gradient stop
<stop stop-color="#641ba1"/>
CSS variable + fill
:root { --c: #641ba1; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #641ba1; background-color: #641ba1; bg-[#641ba1]