#561F9C#561F9C
#561F9C is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.185 H 296.9°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).
Color values
| HEX | #561F9C |
|---|---|
| RGB | rgb(86, 31, 156) |
| HSL | hsl(266, 67%, 37%) |
| HSV | hsv(266, 80%, 61%) |
| CMYK | cmyk(44.9%, 80.1%, 0%, 38.8%) |
| CIE-LAB | lab(27.73, 50.08, -57.48) |
| CIE-LCH | lch(27.73, 76.24, 311.07°) |
| OKLab | oklab(39.99% 0.0837 -0.1647) |
| OKLCH | oklch(39.99% 0.185 296.9) |
| XYZ | xyz(10.3269, 5.3585, 31.9362) |
| Luminance | 0.0536 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.08
Rebeccapurple
#663399
ΔE00 5.15
Indigo
#4B0082
ΔE00 5.71
Violet Blue
#510AC9
ΔE00 6.16
Indigo (survey)
#380282
ΔE00 7.02
Purple Blue
#5D21D0
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#561F9C #659C1F
analogous
#1F279C #561F9C #951F9C
triadic
#561F9C #9C561F #1F9C56
tetradic
#561F9C #9C1F27 #659C1F #1F9C95
square
#561F9C #9C1F27 #659C1F #1F9C95
split-complementary
#561F9C #9C951F #279C1F
monochromatic
#1E0B36 #3A1569 #561F9C #7229CF #9358DE
Accessibility & contrast
On white
10.14
#561F9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#561F9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #561F9C
10.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##561F9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##561F9C | 1.00 | 10.14 | 2.07 | 10.14 |
| #FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#00409A
Tritanopia (blue-blind)
#43425E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #561f9c; /* rgb */ color: rgb(86, 31, 156); /* oklch */ color: oklch(40.0% 0.185 296.9);
Tailwind
colors: {
custom: {
50: '#8d62ba',
500: '#561f9c',
950: '#000000',
},
}SCSS
$custom: #561f9c; $custom-light: #8d62ba; $custom-dark: #000000;
JSON
{
"hex": "#561f9c",
"rgb": {
"r": 86,
"g": 31,
"b": 156
},
"hsl": {
"h": 266.4,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.39988,
"c": 0.18472,
"h": 296.9
},
"luminance": 0.05359
}Semantic roles & 50–950 ramp
primary
#561F9C
secondary
#92C155
accent
#EA3E9E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0512
muted
#7E7A81