#561D71#561D71

#561D71 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.1% C 0.141 H 312.5°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#561D71
RGBrgb(86, 29, 113)
HSLhsl(281, 59%, 28%)
HSVhsv(281, 74%, 44%)
CMYKcmyk(23.9%, 74.3%, 0%, 55.7%)
CIE-LABlab(23.83, 40.42, -36.90)
CIE-LCHlch(23.83, 54.73, 317.60°)
OKLaboklab(36.13% 0.0956 -0.1042)
OKLCHoklch(36.13% 0.141 312.5)
XYZxyz(7.2572, 4.0496, 16.0189)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561D71 #38711D
analogous
#2C1D71 #561D71 #711D62
triadic
#561D71 #71561D #1D7156
tetradic
#561D71 #712C1D #38711D #1D6271
square
#561D71 #712C1D #38711D #1D6271
split-complementary
#561D71 #62711D #1D712C
monochromatic
#130618 #311140 #561D71 #7B29A2 #9E3CCD

Accessibility & contrast

On white

11.60
#561D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#561D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561D71
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561D71#FFFFFF#000000##FFFFFF
##561D711.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#143A6F
Tritanopia (blue-blind)
#532F45
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #561d71;
/* rgb */ color: rgb(86, 29, 113);
/* oklch */ color: oklch(36.1% 0.141 312.5);
Tailwind
colors: {
  custom: {
    50: '#895f9a',
    500: '#561d71',
    950: '#000000',
  },
}
SCSS
$custom: #561d71;
$custom-light: #895f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#561d71",
  "rgb": {
    "r": 86,
    "g": 29,
    "b": 113
  },
  "hsl": {
    "h": 280.714,
    "s": 59.155,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36127,
    "c": 0.14142,
    "h": 312.5
  },
  "luminance": 0.04049
}

Semantic roles & 50–950 ramp

primary
#561D71
secondary
#64A544
accent
#E24578
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #561D71

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

Preview Lab → · Contrast checker → · Palette generator →

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