#561F6A#561F6A

#561F6A is a dark, vivid purple. Relative luminance 0.040; OKLCH L 35.8% C 0.131 H 315.7°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#561F6A
RGBrgb(86, 31, 106)
HSLhsl(284, 55%, 27%)
HSVhsv(284, 71%, 42%)
CMYKcmyk(18.9%, 70.8%, 0%, 58.4%)
CIE-LABlab(23.67, 37.88, -32.65)
CIE-LCHlch(23.67, 50.01, 319.25°)
OKLaboklab(35.85% 0.0939 -0.0917)
OKLCHoklch(35.85% 0.131 315.7)
XYZxyz(6.9288, 3.9993, 14.0398)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F6A #336A1F
analogous
#311F6A #561F6A #6A1F59
triadic
#561F6A #6A561F #1F6A56
tetradic
#561F6A #6A311F #336A1F #1F596A
square
#561F6A #6A311F #336A1F #1F596A
split-complementary
#561F6A #596A1F #1F6A31
monochromatic
#130718 #30113B #561F6A #7C2D99 #A23DC6

Accessibility & contrast

On white

11.67
#561F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#561F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561F6A
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F6A#FFFFFF#000000##FFFFFF
##561F6A1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356C
Deuteranopia (green-blind)
#1E3A68
Tritanopia (blue-blind)
#552D42
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #561f6a;
/* rgb */ color: rgb(86, 31, 106);
/* oklch */ color: oklch(35.8% 0.131 315.7);
Tailwind
colors: {
  custom: {
    50: '#885f95',
    500: '#561f6a',
    950: '#000000',
  },
}
SCSS
$custom: #561f6a;
$custom-light: #885f95;
$custom-dark: #000000;
JSON
{
  "hex": "#561f6a",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 106
  },
  "hsl": {
    "h": 284,
    "s": 54.745,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35849,
    "c": 0.1313,
    "h": 315.7
  },
  "luminance": 0.03999
}

Semantic roles & 50–950 ramp

primary
#561F6A
secondary
#5E9E47
accent
#DE4A71
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #561F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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