#561A71#561A71

#561A71 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.8% C 0.145 H 312.9°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#561A71
RGBrgb(86, 26, 113)
HSLhsl(281, 63%, 27%)
HSVhsv(281, 77%, 44%)
CMYKcmyk(23.9%, 77%, 0%, 55.7%)
CIE-LABlab(23.37, 41.74, -37.65)
CIE-LCHlch(23.37, 56.21, 317.95°)
OKLaboklab(35.8% 0.0989 -0.1064)
OKLCHoklch(35.8% 0.145 312.9)
XYZxyz(7.1873, 3.9097, 15.9956)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561A71 #35711A
analogous
#2A1A71 #561A71 #711A61
triadic
#561A71 #71561A #1A7156
tetradic
#561A71 #712A1A #35711A #1A6171
square
#561A71 #712A1A #35711A #1A6171
split-complementary
#561A71 #61711A #1A712A
monochromatic
#130619 #300F3F #561A71 #7C25A3 #A035D0

Accessibility & contrast

On white

11.79
#561A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#561A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561A71
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561A71#FFFFFF#000000##FFFFFF
##561A711.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #561a71;
/* rgb */ color: rgb(86, 26, 113);
/* oklch */ color: oklch(35.8% 0.145 312.9);
Tailwind
colors: {
  custom: {
    50: '#895d9a',
    500: '#561a71',
    950: '#000000',
  },
}
SCSS
$custom: #561a71;
$custom-light: #895d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#561a71",
  "rgb": {
    "r": 86,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 281.379,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.35797,
    "c": 0.14522,
    "h": 312.9
  },
  "luminance": 0.03909
}

Semantic roles & 50–950 ramp

primary
#561A71
secondary
#60A641
accent
#E64275
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #561A71

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

Preview Lab → · Contrast checker → · Palette generator →

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