#561871#561871

#561871 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.6% C 0.148 H 313.1°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#561871
RGBrgb(86, 24, 113)
HSLhsl(282, 65%, 27%)
HSVhsv(282, 79%, 44%)
CMYKcmyk(23.9%, 78.8%, 0%, 55.7%)
CIE-LABlab(23.08, 42.56, -38.12)
CIE-LCHlch(23.08, 57.13, 318.15°)
OKLaboklab(35.59% 0.1009 -0.1077)
OKLCHoklch(35.59% 0.148 313.1)
XYZxyz(7.1445, 3.8242, 15.9814)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561871 #337118
analogous
#2A1871 #561871 #711860
triadic
#561871 #715618 #187156
tetradic
#561871 #712A18 #337118 #186071
square
#561871 #712A18 #337118 #186071
split-complementary
#561871 #607118 #18712A
monochromatic
#130519 #300D3F #561871 #7C23A3 #A230D3

Accessibility & contrast

On white

11.90
#561871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#561871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561871
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561871#FFFFFF#000000##FFFFFF
##5618711.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003473
Deuteranopia (green-blind)
#0E386F
Tritanopia (blue-blind)
#532C43
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #561871;
/* rgb */ color: rgb(86, 24, 113);
/* oklch */ color: oklch(35.6% 0.148 313.1);
Tailwind
colors: {
  custom: {
    50: '#895c9a',
    500: '#561871',
    950: '#000000',
  },
}
SCSS
$custom: #561871;
$custom-light: #895c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#561871",
  "rgb": {
    "r": 86,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 281.798,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35593,
    "c": 0.14761,
    "h": 313.1
  },
  "luminance": 0.03824
}

Semantic roles & 50–950 ramp

primary
#561871
secondary
#5EA63E
accent
#E84073
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #561871

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

Preview Lab → · Contrast checker → · Palette generator →

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