#561FA1#561FA1
#561FA1 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.5% C 0.190 H 295.6°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #561FA1 |
|---|---|
| RGB | rgb(86, 31, 161) |
| HSL | hsl(265, 68%, 38%) |
| HSV | hsv(265, 81%, 63%) |
| CMYK | cmyk(46.6%, 80.7%, 0%, 36.9%) |
| CIE-LAB | lab(28.20, 51.36, -59.76) |
| CIE-LCH | lch(28.20, 78.80, 310.68°) |
| OKLab | oklab(40.45% 0.0821 -0.1714) |
| OKLCH | oklch(40.45% 0.19 295.6) |
| XYZ | xyz(10.7590, 5.5313, 34.2121) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.59
Rebeccapurple
#663399
ΔE00 5.34
Violet Blue
#510AC9
ΔE00 5.44
Indigo
#4B0082
ΔE00 6.24
Purple Blue
#5D21D0
ΔE00 6.51
Ultramarine
#2000B1
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#561FA1 #6AA11F
analogous
#1F29A1 #561FA1 #971FA1
triadic
#561FA1 #A1561F #1FA156
tetradic
#561FA1 #A11F29 #6AA11F #1FA197
square
#561FA1 #A11F29 #6AA11F #1FA197
split-complementary
#561FA1 #A1971F #29A11F
monochromatic
#1F0B3A #3B156E #561FA1 #7129D4 #935BDF
Accessibility & contrast
On white
9.97
#561FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#561FA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #561FA1
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##561FA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##561FA1 | 1.00 | 9.97 | 2.11 | 9.97 |
| #FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A5
Deuteranopia (green-blind)
#00419F
Tritanopia (blue-blind)
#414460
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #561fa1; /* rgb */ color: rgb(86, 31, 161); /* oklch */ color: oklch(40.5% 0.190 295.6);
Tailwind
colors: {
custom: {
50: '#8e62be',
500: '#561fa1',
950: '#000000',
},
}SCSS
$custom: #561fa1; $custom-light: #8e62be; $custom-dark: #000000;
JSON
{
"hex": "#561fa1",
"rgb": {
"r": 86,
"g": 31,
"b": 161
},
"hsl": {
"h": 265.385,
"s": 67.708,
"l": 37.647
},
"oklch": {
"l": 0.40453,
"c": 0.19003,
"h": 295.6
},
"luminance": 0.05532
}Semantic roles & 50–950 ramp
primary
#561FA1
secondary
#96C458
accent
#EB3DA1
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0512
muted
#7E7A81