#561D89#561D89

#561D89 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.167 H 303.0°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#561D89
RGBrgb(86, 29, 137)
HSLhsl(272, 65%, 33%)
HSVhsv(272, 79%, 54%)
CMYKcmyk(37.2%, 78.8%, 0%, 46.3%)
CIE-LABlab(25.75, 46.15, -48.99)
CIE-LCHlch(25.75, 67.31, 313.29°)
OKLaboklab(38.08% 0.0908 -0.1397)
OKLCHoklch(38.08% 0.167 303)
XYZxyz(8.7914, 4.6633, 24.0990)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561D89 #50891D
analogous
#201D89 #561D89 #891D86
triadic
#561D89 #89561D #1D8956
tetradic
#561D89 #89201D #50891D #1D8689
square
#561D89 #89201D #50891D #1D8689
split-complementary
#561D89 #86891D #1D8920
monochromatic
#170824 #361256 #561D89 #7628BC #9448D8

Accessibility & contrast

On white

10.87
#561D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#561D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561D89
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561D89#FFFFFF#000000##FFFFFF
##561D891.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8C
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#4B3952
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #561d89;
/* rgb */ color: rgb(86, 29, 137);
/* oklch */ color: oklch(38.1% 0.167 303.0);
Tailwind
colors: {
  custom: {
    50: '#8b60ac',
    500: '#561d89',
    950: '#000000',
  },
}
SCSS
$custom: #561d89;
$custom-light: #8b60ac;
$custom-dark: #000000;
JSON
{
  "hex": "#561d89",
  "rgb": {
    "r": 86,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 271.667,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38084,
    "c": 0.16666,
    "h": 303
  },
  "luminance": 0.04663
}

Semantic roles & 50–950 ramp

primary
#561D89
secondary
#7EBA47
accent
#E8408F
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #561D89

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

Preview Lab → · Contrast checker → · Palette generator →

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