#561A5C#561A5C

#561A5C is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.3% C 0.124 H 324.0°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#561A5C
RGBrgb(86, 26, 92)
HSLhsl(295, 56%, 23%)
HSVhsv(295, 72%, 36%)
CMYKcmyk(6.5%, 71.7%, 0%, 63.9%)
CIE-LABlab(21.91, 37.21, -26.28)
CIE-LCHlch(21.91, 45.55, 324.77°)
OKLaboklab(34.29% 0.1006 -0.0731)
OKLCHoklch(34.29% 0.124 324)
XYZxyz(6.1387, 3.4903, 10.4735)
Luminance0.0349 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561A5C #205C1A
analogous
#351A5C #561A5C #5C1A41
triadic
#561A5C #5C561A #1A5C56
tetradic
#561A5C #5C351A #205C1A #1A415C
square
#561A5C #5C351A #205C1A #1A415C
split-complementary
#561A5C #415C1A #1A5C35
monochromatic
#160718 #290D2C #561A5C #83278C #AF35BB

Accessibility & contrast

On white

12.37
#561A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561A5C
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561A5C#FFFFFF#000000##FFFFFF
##561A5C1.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A305E
Deuteranopia (green-blind)
#25375A
Tritanopia (blue-blind)
#582538
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #561a5c;
/* rgb */ color: rgb(86, 26, 92);
/* oklch */ color: oklch(34.3% 0.124 324.0);
Tailwind
colors: {
  custom: {
    50: '#885c8a',
    500: '#561a5c',
    950: '#000000',
  },
}
SCSS
$custom: #561a5c;
$custom-light: #885c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#561a5c",
  "rgb": {
    "r": 86,
    "g": 26,
    "b": 92
  },
  "hsl": {
    "h": 294.545,
    "s": 55.932,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34286,
    "c": 0.12431,
    "h": 324
  },
  "luminance": 0.0349
}

Semantic roles & 50–950 ramp

primary
#561A5C
secondary
#479240
accent
#DF4956
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #561A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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