#561A5B#561A5B

#561A5B is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.2% C 0.123 H 324.6°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#561A5B
RGBrgb(86, 26, 91)
HSLhsl(295, 56%, 23%)
HSVhsv(295, 71%, 36%)
CMYKcmyk(5.5%, 71.4%, 0%, 64.3%)
CIE-LABlab(21.85, 37.00, -25.71)
CIE-LCHlch(21.85, 45.06, 325.21°)
OKLaboklab(34.22% 0.1005 -0.0714)
OKLCHoklch(34.22% 0.123 324.6)
XYZxyz(6.0953, 3.4729, 10.2448)
Luminance0.0347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561A5B #1F5B1A
analogous
#351A5B #561A5B #5B1A3F
triadic
#561A5B #5B561A #1A5B56
tetradic
#561A5B #5B351A #1F5B1A #1A3F5B
square
#561A5B #5B351A #1F5B1A #1A3F5B
split-complementary
#561A5B #3F5B1A #1A5B35
monochromatic
#160718 #290C2B #561A5B #83288B #B035BA

Accessibility & contrast

On white

12.39
#561A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#561A5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561A5B
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561A5B#FFFFFF#000000##FFFFFF
##561A5B1.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C305D
Deuteranopia (green-blind)
#263759
Tritanopia (blue-blind)
#582438
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #561a5b;
/* rgb */ color: rgb(86, 26, 91);
/* oklch */ color: oklch(34.2% 0.123 324.6);
Tailwind
colors: {
  custom: {
    50: '#885c8a',
    500: '#561a5b',
    950: '#000000',
  },
}
SCSS
$custom: #561a5b;
$custom-light: #885c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#561a5b",
  "rgb": {
    "r": 86,
    "g": 26,
    "b": 91
  },
  "hsl": {
    "h": 295.385,
    "s": 55.556,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34221,
    "c": 0.12334,
    "h": 324.6
  },
  "luminance": 0.03473
}

Semantic roles & 50–950 ramp

primary
#561A5B
secondary
#469140
accent
#DF4954
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #561A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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