#561B52#561B52

#561B52 is a dark, moderate purple. Relative luminance 0.034; OKLCH L 33.8% C 0.113 H 330.5°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#561B52
RGBrgb(86, 27, 82)
HSLhsl(304, 52%, 22%)
HSVhsv(304, 69%, 34%)
CMYKcmyk(0%, 68.6%, 4.7%, 66.3%)
CIE-LABlab(21.48, 34.78, -20.29)
CIE-LCHlch(21.48, 40.26, 329.74°)
OKLaboklab(33.78% 0.0987 -0.0557)
OKLCHoklch(33.78% 0.113 330.5)
XYZxyz(5.7526, 3.3719, 8.3289)
Luminance0.0337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561B52 #1B561F
analogous
#3D1B56 #561B52 #561B35
triadic
#561B52 #52561B #1B5256
tetradic
#561B52 #563D1B #1B561F #1B3556
square
#561B52 #563D1B #1B561F #1B3556
split-complementary
#561B52 #35561B #1B563D
monochromatic
#170716 #270C26 #561B52 #852A7E #B338AB

Accessibility & contrast

On white

12.54
#561B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561B52
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561B52#FFFFFF#000000##FFFFFF
##561B521.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #561b52;
/* rgb */ color: rgb(86, 27, 82);
/* oklch */ color: oklch(33.8% 0.113 330.5);
Tailwind
colors: {
  custom: {
    50: '#885c83',
    500: '#561b52',
    950: '#000000',
  },
}
SCSS
$custom: #561b52;
$custom-light: #885c83;
$custom-dark: #000000;
JSON
{
  "hex": "#561b52",
  "rgb": {
    "r": 86,
    "g": 27,
    "b": 82
  },
  "hsl": {
    "h": 304.068,
    "s": 52.212,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33779,
    "c": 0.11337,
    "h": 330.5
  },
  "luminance": 0.03371
}

Semantic roles & 50–950 ramp

primary
#561B52
secondary
#418C46
accent
#DC564C
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #561B52

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

Preview Lab → · Contrast checker → · Palette generator →

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