#561D8D#561D8D

#561D8D is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.171 H 301.7°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#561D8D
RGBrgb(86, 29, 141)
HSLhsl(271, 66%, 33%)
HSVhsv(271, 79%, 55%)
CMYKcmyk(39%, 79.4%, 0%, 44.7%)
CIE-LABlab(26.10, 47.14, -50.92)
CIE-LCHlch(26.10, 69.39, 312.79°)
OKLaboklab(38.43% 0.0898 -0.1454)
OKLCHoklch(38.43% 0.171 301.7)
XYZxyz(9.0837, 4.7802, 25.6382)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561D8D #548D1D
analogous
#1E1D8D #561D8D #8D1D8C
triadic
#561D8D #8D561D #1D8D56
tetradic
#561D8D #8D1E1D #548D1D #1D8C8D
square
#561D8D #8D1E1D #548D1D #1D8C8D
split-complementary
#561D8D #8C8D1D #1D8D1E
monochromatic
#180827 #37135A #561D8D #7527C0 #934BDA

Accessibility & contrast

On white

10.74
#561D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#561D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561D8D
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561D8D#FFFFFF#000000##FFFFFF
##561D8D1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#4A3B55
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #561d8d;
/* rgb */ color: rgb(86, 29, 141);
/* oklch */ color: oklch(38.4% 0.171 301.7);
Tailwind
colors: {
  custom: {
    50: '#8b60af',
    500: '#561d8d',
    950: '#000000',
  },
}
SCSS
$custom: #561d8d;
$custom-light: #8b60af;
$custom-dark: #000000;
JSON
{
  "hex": "#561d8d",
  "rgb": {
    "r": 86,
    "g": 29,
    "b": 141
  },
  "hsl": {
    "h": 270.536,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38434,
    "c": 0.17086,
    "h": 301.7
  },
  "luminance": 0.0478
}

Semantic roles & 50–950 ramp

primary
#561D8D
secondary
#82BC4A
accent
#E93F92
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #561D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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