#561D87#561D87

#561D87 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.165 H 303.7°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#561D87
RGBrgb(86, 29, 135)
HSLhsl(272, 65%, 32%)
HSVhsv(272, 79%, 53%)
CMYKcmyk(36.3%, 78.5%, 0%, 47.1%)
CIE-LABlab(25.58, 45.66, -48.02)
CIE-LCHlch(25.58, 66.26, 313.56°)
OKLaboklab(37.91% 0.0913 -0.1369)
OKLCHoklch(37.91% 0.165 303.7)
XYZxyz(8.6493, 4.6064, 23.3504)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561D87 #4E871D
analogous
#211D87 #561D87 #871D83
triadic
#561D87 #87561D #1D8756
tetradic
#561D87 #87211D #4E871D #1D8387
square
#561D87 #87211D #4E871D #1D8387
split-complementary
#561D87 #83871D #1D8721
monochromatic
#160722 #361255 #561D87 #7628B9 #9547D7

Accessibility & contrast

On white

10.93
#561D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#561D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561D87
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561D87#FFFFFF#000000##FFFFFF
##561D871.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8A
Deuteranopia (green-blind)
#003C85
Tritanopia (blue-blind)
#4C3851
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #561d87;
/* rgb */ color: rgb(86, 29, 135);
/* oklch */ color: oklch(37.9% 0.165 303.7);
Tailwind
colors: {
  custom: {
    50: '#8b60ab',
    500: '#561d87',
    950: '#000000',
  },
}
SCSS
$custom: #561d87;
$custom-light: #8b60ab;
$custom-dark: #000000;
JSON
{
  "hex": "#561d87",
  "rgb": {
    "r": 86,
    "g": 29,
    "b": 135
  },
  "hsl": {
    "h": 272.264,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37912,
    "c": 0.16455,
    "h": 303.7
  },
  "luminance": 0.04606
}

Semantic roles & 50–950 ramp

primary
#561D87
secondary
#7CB946
accent
#E8408E
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #561D87

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

Preview Lab → · Contrast checker → · Palette generator →

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