#561B58#561B58

#561B58 is a dark, moderate purple. Relative luminance 0.035; OKLCH L 34.1% C 0.119 H 326.5°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#561B58
RGBrgb(86, 27, 88)
HSLhsl(298, 53%, 23%)
HSVhsv(298, 69%, 35%)
CMYKcmyk(2.3%, 69.3%, 0%, 65.5%)
CIE-LABlab(21.83, 35.94, -23.75)
CIE-LCHlch(21.83, 43.08, 326.55°)
OKLaboklab(34.15% 0.0992 -0.0658)
OKLCHoklch(34.15% 0.119 326.5)
XYZxyz(5.9910, 3.4673, 9.5843)
Luminance0.0347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561B58 #1D581B
analogous
#381B58 #561B58 #581B3B
triadic
#561B58 #58561B #1B5856
tetradic
#561B58 #58381B #1D581B #1B3B58
square
#561B58 #58381B #1D581B #1B3B58
split-complementary
#561B58 #3B581B #1B5838
monochromatic
#170717 #280D29 #561B58 #842987 #B238B6

Accessibility & contrast

On white

12.40
#561B58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561B58
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561B58#FFFFFF#000000##FFFFFF
##561B581.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112F5A
Deuteranopia (green-blind)
#283756
Tritanopia (blue-blind)
#582437
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #561b58;
/* rgb */ color: rgb(86, 27, 88);
/* oklch */ color: oklch(34.1% 0.119 326.5);
Tailwind
colors: {
  custom: {
    50: '#885d87',
    500: '#561b58',
    950: '#000000',
  },
}
SCSS
$custom: #561b58;
$custom-light: #885d87;
$custom-dark: #000000;
JSON
{
  "hex": "#561b58",
  "rgb": {
    "r": 86,
    "g": 27,
    "b": 88
  },
  "hsl": {
    "h": 298.033,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.34146,
    "c": 0.11899,
    "h": 326.5
  },
  "luminance": 0.03467
}

Semantic roles & 50–950 ramp

primary
#561B58
secondary
#448E41
accent
#DC4B50
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #561B58

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

Preview Lab → · Contrast checker → · Palette generator →

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