#561A56#561A56

#561A56 is a dark, moderate purple. Relative luminance 0.034; OKLCH L 33.9% C 0.119 H 327.8°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#561A56
RGBrgb(86, 26, 86)
HSLhsl(300, 54%, 22%)
HSVhsv(300, 70%, 34%)
CMYKcmyk(0%, 69.8%, 0%, 66.3%)
CIE-LABlab(21.54, 36.01, -22.87)
CIE-LCHlch(21.54, 42.66, 327.59°)
OKLaboklab(33.9% 0.1004 -0.0632)
OKLCHoklch(33.9% 0.119 327.8)
XYZxyz(5.8868, 3.3895, 9.1465)
Luminance0.0339 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561A56 #1A561A
analogous
#381A56 #561A56 #561A38
triadic
#561A56 #56561A #1A5656
tetradic
#561A56 #56381A #1A561A #1A3856
square
#561A56 #56381A #1A561A #1A3856
split-complementary
#561A56 #38561A #1A5638
monochromatic
#170717 #270C27 #561A56 #852885 #B436B4

Accessibility & contrast

On white

12.52
#561A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#561A56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561A56
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561A56#FFFFFF#000000##FFFFFF
##561A561.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122F58
Deuteranopia (green-blind)
#293654
Tritanopia (blue-blind)
#592235
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #561a56;
/* rgb */ color: rgb(86, 26, 86);
/* oklch */ color: oklch(33.9% 0.119 327.8);
Tailwind
colors: {
  custom: {
    50: '#885c86',
    500: '#561a56',
    950: '#000000',
  },
}
SCSS
$custom: #561a56;
$custom-light: #885c86;
$custom-dark: #000000;
JSON
{
  "hex": "#561a56",
  "rgb": {
    "r": 86,
    "g": 26,
    "b": 86
  },
  "hsl": {
    "h": 300,
    "s": 53.571,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33901,
    "c": 0.1186,
    "h": 327.8
  },
  "luminance": 0.03389
}

Semantic roles & 50–950 ramp

primary
#561A56
secondary
#408C40
accent
#DD4B4B
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #561A56

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

Preview Lab → · Contrast checker → · Palette generator →

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