#561B5F#561B5F

#561B5F is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.6% C 0.126 H 322.1°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#561B5F
RGBrgb(86, 27, 95)
HSLhsl(292, 56%, 24%)
HSVhsv(292, 72%, 37%)
CMYKcmyk(9.5%, 71.6%, 0%, 62.7%)
CIE-LABlab(22.26, 37.37, -27.70)
CIE-LCHlch(22.26, 46.52, 323.45°)
OKLaboklab(34.6% 0.0993 -0.0772)
OKLCHoklch(34.6% 0.126 322.1)
XYZxyz(6.2950, 3.5889, 11.1854)
Luminance0.0359 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561B5F #245F1B
analogous
#341B5F #561B5F #5F1B46
triadic
#561B5F #5F561B #1B5F56
tetradic
#561B5F #5F341B #245F1B #1B465F
square
#561B5F #5F341B #245F1B #1B465F
split-complementary
#561B5F #465F1B #1B5F34
monochromatic
#160718 #2B0D2F #561B5F #81298F #AC36BE

Accessibility & contrast

On white

12.22
#561B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#561B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561B5F
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561B5F#FFFFFF#000000##FFFFFF
##561B5F1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073161
Deuteranopia (green-blind)
#24375D
Tritanopia (blue-blind)
#57263A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #561b5f;
/* rgb */ color: rgb(86, 27, 95);
/* oklch */ color: oklch(34.6% 0.126 322.1);
Tailwind
colors: {
  custom: {
    50: '#885d8d',
    500: '#561b5f',
    950: '#000000',
  },
}
SCSS
$custom: #561b5f;
$custom-light: #885d8d;
$custom-dark: #000000;
JSON
{
  "hex": "#561b5f",
  "rgb": {
    "r": 86,
    "g": 27,
    "b": 95
  },
  "hsl": {
    "h": 292.059,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34603,
    "c": 0.1258,
    "h": 322.1
  },
  "luminance": 0.03589
}

Semantic roles & 50–950 ramp

primary
#561B5F
secondary
#4C9541
accent
#DF495D
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #561B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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