#561A5D#561A5D

#561A5D is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.4% C 0.125 H 323.4°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#561A5D
RGBrgb(86, 26, 93)
HSLhsl(294, 56%, 23%)
HSVhsv(294, 72%, 36%)
CMYKcmyk(7.5%, 72%, 0%, 63.5%)
CIE-LABlab(21.97, 37.41, -26.84)
CIE-LCHlch(21.97, 46.04, 324.34°)
OKLaboklab(34.35% 0.1006 -0.0747)
OKLCHoklch(34.35% 0.125 323.4)
XYZxyz(6.1827, 3.5079, 10.7052)
Luminance0.0351 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561A5D #215D1A
analogous
#341A5D #561A5D #5D1A42
triadic
#561A5D #5D561A #1A5D56
tetradic
#561A5D #5D341A #215D1A #1A425D
square
#561A5D #5D341A #215D1A #1A425D
split-complementary
#561A5D #425D1A #1A5D34
monochromatic
#160718 #2A0D2D #561A5D #82278D #AE35BD

Accessibility & contrast

On white

12.34
#561A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#561A5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561A5D
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561A5D#FFFFFF#000000##FFFFFF
##561A5D1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09305F
Deuteranopia (green-blind)
#25375B
Tritanopia (blue-blind)
#582539
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #561a5d;
/* rgb */ color: rgb(86, 26, 93);
/* oklch */ color: oklch(34.4% 0.125 323.4);
Tailwind
colors: {
  custom: {
    50: '#885c8b',
    500: '#561a5d',
    950: '#000000',
  },
}
SCSS
$custom: #561a5d;
$custom-light: #885c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#561a5d",
  "rgb": {
    "r": 86,
    "g": 26,
    "b": 93
  },
  "hsl": {
    "h": 293.731,
    "s": 56.303,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34353,
    "c": 0.12528,
    "h": 323.4
  },
  "luminance": 0.03508
}

Semantic roles & 50–950 ramp

primary
#561A5D
secondary
#499340
accent
#E04858
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #561A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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