#561A52#561A52

#561A52 is a dark, moderate purple. Relative luminance 0.033; OKLCH L 33.7% C 0.115 H 330.5°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#561A52
RGBrgb(86, 26, 82)
HSLhsl(304, 54%, 22%)
HSVhsv(304, 70%, 34%)
CMYKcmyk(0%, 69.8%, 4.7%, 66.3%)
CIE-LABlab(21.31, 35.25, -20.55)
CIE-LCHlch(21.31, 40.80, 329.76°)
OKLaboklab(33.66% 0.1001 -0.0565)
OKLCHoklch(33.66% 0.115 330.5)
XYZxyz(5.7301, 3.3268, 8.3213)
Luminance0.0333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561A52 #1A561E
analogous
#3C1A56 #561A52 #561A34
triadic
#561A52 #52561A #1A5256
tetradic
#561A52 #563C1A #1A561E #1A3456
square
#561A52 #563C1A #1A561E #1A3456
split-complementary
#561A52 #34561A #1A563C
monochromatic
#170716 #270C25 #561A52 #85287F #B436AC

Accessibility & contrast

On white

12.61
#561A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#561A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561A52
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561A52#FFFFFF#000000##FFFFFF
##561A521.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162E54
Deuteranopia (green-blind)
#2B3650
Tritanopia (blue-blind)
#592033
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #561a52;
/* rgb */ color: rgb(86, 26, 82);
/* oklch */ color: oklch(33.7% 0.115 330.5);
Tailwind
colors: {
  custom: {
    50: '#885c83',
    500: '#561a52',
    950: '#000000',
  },
}
SCSS
$custom: #561a52;
$custom-light: #885c83;
$custom-dark: #000000;
JSON
{
  "hex": "#561a52",
  "rgb": {
    "r": 86,
    "g": 26,
    "b": 82
  },
  "hsl": {
    "h": 304,
    "s": 53.571,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33657,
    "c": 0.1149,
    "h": 330.5
  },
  "luminance": 0.03326
}

Semantic roles & 50–950 ramp

primary
#561A52
secondary
#408C45
accent
#DD554B
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #561A52

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

Preview Lab → · Contrast checker → · Palette generator →

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