#561B71#561B71

#561B71 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 35.9% C 0.144 H 312.8°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#561B71
RGBrgb(86, 27, 113)
HSLhsl(281, 61%, 27%)
HSVhsv(281, 76%, 44%)
CMYKcmyk(23.9%, 76.1%, 0%, 55.7%)
CIE-LABlab(23.52, 41.31, -37.41)
CIE-LCHlch(23.52, 55.73, 317.84°)
OKLaboklab(35.9% 0.0978 -0.1057)
OKLCHoklch(35.9% 0.144 312.8)
XYZxyz(7.2098, 3.9548, 16.0031)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561B71 #36711B
analogous
#2B1B71 #561B71 #711B61
triadic
#561B71 #71561B #1B7156
tetradic
#561B71 #712B1B #36711B #1B6171
square
#561B71 #712B1B #36711B #1B6171
split-complementary
#561B71 #61711B #1B712B
monochromatic
#130619 #300F40 #561B71 #7C27A2 #9F37CF

Accessibility & contrast

On white

11.73
#561B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#561B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561B71
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561B71#FFFFFF#000000##FFFFFF
##561B711.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003573
Deuteranopia (green-blind)
#12396F
Tritanopia (blue-blind)
#532E44
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #561b71;
/* rgb */ color: rgb(86, 27, 113);
/* oklch */ color: oklch(35.9% 0.144 312.8);
Tailwind
colors: {
  custom: {
    50: '#895e9a',
    500: '#561b71',
    950: '#000000',
  },
}
SCSS
$custom: #561b71;
$custom-light: #895e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#561b71",
  "rgb": {
    "r": 86,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 281.163,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35904,
    "c": 0.14399,
    "h": 312.8
  },
  "luminance": 0.03955
}

Semantic roles & 50–950 ramp

primary
#561B71
secondary
#61A642
accent
#E54376
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #561B71

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

Preview Lab → · Contrast checker → · Palette generator →

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