#561D8C#561D8C

#561D8C is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.170 H 302.0°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#561D8C
RGBrgb(86, 29, 140)
HSLhsl(271, 66%, 33%)
HSVhsv(271, 79%, 55%)
CMYKcmyk(38.6%, 79.3%, 0%, 45.1%)
CIE-LABlab(26.01, 46.89, -50.44)
CIE-LCHlch(26.01, 68.87, 312.91°)
OKLaboklab(38.35% 0.09 -0.144)
OKLCHoklch(38.35% 0.17 302)
XYZxyz(9.0096, 4.7506, 25.2482)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561D8C #538C1D
analogous
#1F1D8C #561D8C #8C1D8A
triadic
#561D8C #8C561D #1D8C56
tetradic
#561D8C #8C1F1D #538C1D #1D8A8C
square
#561D8C #8C1F1D #538C1D #1D8A8C
split-complementary
#561D8C #8A8C1D #1D8C1F
monochromatic
#180827 #371259 #561D8C #7528BF #944AD9

Accessibility & contrast

On white

10.77
#561D8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#561D8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561D8C
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561D8C#FFFFFF#000000##FFFFFF
##561D8C1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#003D8A
Tritanopia (blue-blind)
#4A3A54
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #561d8c;
/* rgb */ color: rgb(86, 29, 140);
/* oklch */ color: oklch(38.3% 0.170 302.0);
Tailwind
colors: {
  custom: {
    50: '#8b60ae',
    500: '#561d8c',
    950: '#000000',
  },
}
SCSS
$custom: #561d8c;
$custom-light: #8b60ae;
$custom-dark: #000000;
JSON
{
  "hex": "#561d8c",
  "rgb": {
    "r": 86,
    "g": 29,
    "b": 140
  },
  "hsl": {
    "h": 270.811,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38346,
    "c": 0.16981,
    "h": 302
  },
  "luminance": 0.04751
}

Semantic roles & 50–950 ramp

primary
#561D8C
secondary
#81BC49
accent
#E93F92
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #561D8C

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

Preview Lab → · Contrast checker → · Palette generator →

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