#560fad
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 | #560fad | |
| RGB | rgb(86 15 173) | |
| HSL | hsl(266.96 84.04% 36.86%) | |
| OKLCH | oklch(0.4 0.21 293.89) | |
| CMYK | cmyk(50.29% 91.33% 0% 32.16%) | |
| Android | #ff560fad |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
10.15:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.06: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="#560fad"
Gradient stop
<stop stop-color="#560fad"/>
CSS variable + fill
:root { --c: #560fad; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #560fad; background-color: #560fad; bg-[#560fad]