#561B87#561B87

#561B87 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.167 H 304.0°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#561B87
RGBrgb(86, 27, 135)
HSLhsl(273, 67%, 32%)
HSVhsv(273, 80%, 53%)
CMYKcmyk(36.3%, 80%, 0%, 47.1%)
CIE-LABlab(25.30, 46.49, -48.49)
CIE-LCHlch(25.30, 67.17, 313.79°)
OKLaboklab(37.71% 0.0931 -0.1382)
OKLCHoklch(37.71% 0.167 304)
XYZxyz(8.6018, 4.5116, 23.3346)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561B87 #4C871B
analogous
#201B87 #561B87 #871B82
triadic
#561B87 #87561B #1B8756
tetradic
#561B87 #87201B #4C871B #1B8287
square
#561B87 #87201B #4C871B #1B8287
split-complementary
#561B87 #82871B #1B8720
monochromatic
#150721 #361154 #561B87 #7625BA #9543D9

Accessibility & contrast

On white

11.04
#561B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#561B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561B87
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561B87#FFFFFF#000000##FFFFFF
##561B871.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8A
Deuteranopia (green-blind)
#003C85
Tritanopia (blue-blind)
#4C3751
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #561b87;
/* rgb */ color: rgb(86, 27, 135);
/* oklch */ color: oklch(37.7% 0.167 304.0);
Tailwind
colors: {
  custom: {
    50: '#8b5fab',
    500: '#561b87',
    950: '#000000',
  },
}
SCSS
$custom: #561b87;
$custom-light: #8b5fab;
$custom-dark: #000000;
JSON
{
  "hex": "#561b87",
  "rgb": {
    "r": 86,
    "g": 27,
    "b": 135
  },
  "hsl": {
    "h": 272.778,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3771,
    "c": 0.16668,
    "h": 304
  },
  "luminance": 0.04512
}

Semantic roles & 50–950 ramp

primary
#561B87
secondary
#79BA44
accent
#EA3E8C
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #561B87

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#561B87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva