#561F56#561F56

#561F56 is a dark, moderate purple. Relative luminance 0.036; OKLCH L 34.5% C 0.111 H 327.6°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#561F56
RGBrgb(86, 31, 86)
HSLhsl(300, 47%, 23%)
HSVhsv(300, 64%, 34%)
CMYKcmyk(0%, 64%, 0%, 66.3%)
CIE-LABlab(22.41, 33.60, -21.49)
CIE-LCHlch(22.41, 39.89, 327.40°)
OKLaboklab(34.53% 0.0936 -0.0593)
OKLCHoklch(34.53% 0.111 327.6)
XYZxyz(6.0074, 3.6307, 9.1867)
Luminance0.0363 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F56 #1F561F
analogous
#3A1F56 #561F56 #561F3A
triadic
#561F56 #56561F #1F5656
tetradic
#561F56 #563A1F #1F561F #1F3A56
square
#561F56 #563A1F #1F561F #1F3A56
split-complementary
#561F56 #3A561F #1F563A
monochromatic
#160816 #290F29 #561F56 #832F83 #B03FB0

Accessibility & contrast

On white

12.17
#561F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#561F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561F56
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F56#FFFFFF#000000##FFFFFF
##561F561.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193158
Deuteranopia (green-blind)
#2C3854
Tritanopia (blue-blind)
#592637
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #561f56;
/* rgb */ color: rgb(86, 31, 86);
/* oklch */ color: oklch(34.5% 0.111 327.6);
Tailwind
colors: {
  custom: {
    50: '#885f86',
    500: '#561f56',
    950: '#000000',
  },
}
SCSS
$custom: #561f56;
$custom-light: #885f86;
$custom-dark: #000000;
JSON
{
  "hex": "#561f56",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 86
  },
  "hsl": {
    "h": 300,
    "s": 47.009,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34533,
    "c": 0.11075,
    "h": 327.6
  },
  "luminance": 0.0363
}

Semantic roles & 50–950 ramp

primary
#561F56
secondary
#468B46
accent
#D75151
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C050B
muted
#7D797C

Preview Lab

Preview with #561F56

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

Preview Lab → · Contrast checker → · Palette generator →

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