#561E71#561E71

#561E71 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.2% C 0.140 H 312.4°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#561E71
RGBrgb(86, 30, 113)
HSLhsl(280, 58%, 28%)
HSVhsv(280, 73%, 44%)
CMYKcmyk(23.9%, 73.5%, 0%, 55.7%)
CIE-LABlab(24.00, 39.96, -36.64)
CIE-LCHlch(24.00, 54.21, 317.48°)
OKLaboklab(36.24% 0.0945 -0.1034)
OKLCHoklch(36.24% 0.14 312.4)
XYZxyz(7.2821, 4.0994, 16.0272)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561E71 #39711E
analogous
#2C1E71 #561E71 #711E62
triadic
#561E71 #71561E #1E7156
tetradic
#561E71 #712C1E #39711E #1E6271
square
#561E71 #712C1E #39711E #1E6271
split-complementary
#561E71 #62711E #1E712C
monochromatic
#120618 #311141 #561E71 #7B2BA1 #9E3ECC

Accessibility & contrast

On white

11.54
#561E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#561E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561E71
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561E71#FFFFFF#000000##FFFFFF
##561E711.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#153A6F
Tritanopia (blue-blind)
#533045
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #561e71;
/* rgb */ color: rgb(86, 30, 113);
/* oklch */ color: oklch(36.2% 0.140 312.4);
Tailwind
colors: {
  custom: {
    50: '#895f9a',
    500: '#561e71',
    950: '#000000',
  },
}
SCSS
$custom: #561e71;
$custom-light: #895f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#561e71",
  "rgb": {
    "r": 86,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 280.482,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36243,
    "c": 0.14009,
    "h": 312.4
  },
  "luminance": 0.04099
}

Semantic roles & 50–950 ramp

primary
#561E71
secondary
#65A546
accent
#E14779
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #561E71

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

Preview Lab → · Contrast checker → · Palette generator →

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