#561D8B#561D8B

#561D8B is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.169 H 302.3°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#561D8B
RGBrgb(86, 29, 139)
HSLhsl(271, 65%, 33%)
HSVhsv(271, 79%, 55%)
CMYKcmyk(38.1%, 79.1%, 0%, 45.5%)
CIE-LABlab(25.93, 46.64, -49.96)
CIE-LCHlch(25.93, 68.35, 313.04°)
OKLaboklab(38.26% 0.0903 -0.1426)
OKLCHoklch(38.26% 0.169 302.3)
XYZxyz(8.9362, 4.7212, 24.8616)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561D8B #528B1D
analogous
#1F1D8B #561D8B #8B1D89
triadic
#561D8B #8B561D #1D8B56
tetradic
#561D8B #8B1F1D #528B1D #1D898B
square
#561D8B #8B1F1D #528B1D #1D898B
split-complementary
#561D8B #898B1D #1D8B1F
monochromatic
#170826 #371258 #561D8B #7528BE #9449D9

Accessibility & contrast

On white

10.80
#561D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#561D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561D8B
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561D8B#FFFFFF#000000##FFFFFF
##561D8B1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#4B3A53
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #561d8b;
/* rgb */ color: rgb(86, 29, 139);
/* oklch */ color: oklch(38.3% 0.169 302.3);
Tailwind
colors: {
  custom: {
    50: '#8b60ae',
    500: '#561d8b',
    950: '#000000',
  },
}
SCSS
$custom: #561d8b;
$custom-light: #8b60ae;
$custom-dark: #000000;
JSON
{
  "hex": "#561d8b",
  "rgb": {
    "r": 86,
    "g": 29,
    "b": 139
  },
  "hsl": {
    "h": 271.091,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38258,
    "c": 0.16876,
    "h": 302.3
  },
  "luminance": 0.04721
}

Semantic roles & 50–950 ramp

primary
#561D8B
secondary
#80BB49
accent
#E83F91
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #561D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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