#561571#561571

#561571 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.3% C 0.151 H 313.4°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#561571
RGBrgb(86, 21, 113)
HSLhsl(282, 69%, 26%)
HSVhsv(282, 81%, 44%)
CMYKcmyk(23.9%, 81.4%, 0%, 55.7%)
CIE-LABlab(22.68, 43.72, -38.77)
CIE-LCHlch(22.68, 58.43, 318.43°)
OKLaboklab(35.31% 0.1037 -0.1096)
OKLCHoklch(35.31% 0.151 313.4)
XYZxyz(7.0860, 3.7072, 15.9619)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561571 #307115
analogous
#281571 #561571 #71155E
triadic
#561571 #715615 #157156
tetradic
#561571 #712815 #307115 #155E71
square
#561571 #712815 #307115 #155E71
split-complementary
#561571 #5E7115 #157128
monochromatic
#14051A #2F0B3D #561571 #7D1FA5 #A429D7

Accessibility & contrast

On white

12.06
#561571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#561571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561571
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561571#FFFFFF#000000##FFFFFF
##5615711.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003373
Deuteranopia (green-blind)
#0A386F
Tritanopia (blue-blind)
#532B43
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #561571;
/* rgb */ color: rgb(86, 21, 113);
/* oklch */ color: oklch(35.3% 0.151 313.4);
Tailwind
colors: {
  custom: {
    50: '#895b9a',
    500: '#561571',
    950: '#000000',
  },
}
SCSS
$custom: #561571;
$custom-light: #895b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#561571",
  "rgb": {
    "r": 86,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 282.391,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35309,
    "c": 0.15093,
    "h": 313.4
  },
  "luminance": 0.03707
}

Semantic roles & 50–950 ramp

primary
#561571
secondary
#5AA73B
accent
#EB3C70
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #561571

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

Preview Lab → · Contrast checker → · Palette generator →

#561571 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva