#561B56#561B56

#561B56 is a dark, moderate purple. Relative luminance 0.034; OKLCH L 34.0% C 0.117 H 327.8°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#561B56
RGBrgb(86, 27, 86)
HSLhsl(300, 52%, 22%)
HSVhsv(300, 69%, 34%)
CMYKcmyk(0%, 68.6%, 0%, 66.3%)
CIE-LABlab(21.71, 35.55, -22.60)
CIE-LCHlch(21.71, 42.13, 327.55°)
OKLaboklab(34.02% 0.0991 -0.0624)
OKLCHoklch(34.02% 0.117 327.8)
XYZxyz(5.9093, 3.4346, 9.1540)
Luminance0.0343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561B56 #1B561B
analogous
#391B56 #561B56 #561B39
triadic
#561B56 #56561B #1B5656
tetradic
#561B56 #56391B #1B561B #1B3956
square
#561B56 #56391B #1B561B #1B3956
split-complementary
#561B56 #39561B #1B5639
monochromatic
#170717 #270C27 #561B56 #852A85 #B338B3

Accessibility & contrast

On white

12.45
#561B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#561B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561B56
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561B56#FFFFFF#000000##FFFFFF
##561B561.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132F58
Deuteranopia (green-blind)
#293754
Tritanopia (blue-blind)
#592336
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #561b56;
/* rgb */ color: rgb(86, 27, 86);
/* oklch */ color: oklch(34.0% 0.117 327.8);
Tailwind
colors: {
  custom: {
    50: '#885d86',
    500: '#561b56',
    950: '#000000',
  },
}
SCSS
$custom: #561b56;
$custom-light: #885d86;
$custom-dark: #000000;
JSON
{
  "hex": "#561b56",
  "rgb": {
    "r": 86,
    "g": 27,
    "b": 86
  },
  "hsl": {
    "h": 300,
    "s": 52.212,
    "l": 22.157
  },
  "oklch": {
    "l": 0.34021,
    "c": 0.11709,
    "h": 327.8
  },
  "luminance": 0.03434
}

Semantic roles & 50–950 ramp

primary
#561B56
secondary
#418C41
accent
#DC4C4C
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #561B56

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

Preview Lab → · Contrast checker → · Palette generator →

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