#631986
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 | #631986 | |
| RGB | rgb(99 25 134) | |
| HSL | hsl(280.73 68.55% 31.18%) | |
| OKLCH | oklch(0.39 0.17 311.71) | |
| CMYK | cmyk(26.12% 81.34% 0% 47.45%) | |
| Android | #ff631986 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
10.42:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.01: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="#631986"
Gradient stop
<stop stop-color="#631986"/>
CSS variable + fill
:root { --c: #631986; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #631986; background-color: #631986; bg-[#631986]