#561B5B#561B5B

#561B5B is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.3% C 0.122 H 324.5°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#561B5B
RGBrgb(86, 27, 91)
HSLhsl(295, 54%, 23%)
HSVhsv(295, 70%, 36%)
CMYKcmyk(5.5%, 70.3%, 0%, 64.3%)
CIE-LABlab(22.01, 36.55, -25.45)
CIE-LCHlch(22.01, 44.54, 325.14°)
OKLaboklab(34.34% 0.0993 -0.0707)
OKLCHoklch(34.34% 0.122 324.5)
XYZxyz(6.1179, 3.5180, 10.2523)
Luminance0.0352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561B5B #205B1B
analogous
#361B5B #561B5B #5B1B40
triadic
#561B5B #5B561B #1B5B56
tetradic
#561B5B #5B361B #205B1B #1B405B
square
#561B5B #5B361B #205B1B #1B405B
split-complementary
#561B5B #405B1B #1B5B36
monochromatic
#160718 #290D2C #561B5B #83298A #AF37B9

Accessibility & contrast

On white

12.33
#561B5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#561B5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561B5B
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561B5B#FFFFFF#000000##FFFFFF
##561B5B1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E305D
Deuteranopia (green-blind)
#263759
Tritanopia (blue-blind)
#582538
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #561b5b;
/* rgb */ color: rgb(86, 27, 91);
/* oklch */ color: oklch(34.3% 0.122 324.5);
Tailwind
colors: {
  custom: {
    50: '#885d8a',
    500: '#561b5b',
    950: '#000000',
  },
}
SCSS
$custom: #561b5b;
$custom-light: #885d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#561b5b",
  "rgb": {
    "r": 86,
    "g": 27,
    "b": 91
  },
  "hsl": {
    "h": 295.313,
    "s": 54.237,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34338,
    "c": 0.12189,
    "h": 324.5
  },
  "luminance": 0.03518
}

Semantic roles & 50–950 ramp

primary
#561B5B
secondary
#479141
accent
#DE4A56
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #561B5B

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

Preview Lab → · Contrast checker → · Palette generator →

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