#561C8B#561C8B

#561C8B is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.170 H 302.5°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#561C8B
RGBrgb(86, 28, 139)
HSLhsl(271, 66%, 33%)
HSVhsv(271, 80%, 55%)
CMYKcmyk(38.1%, 79.9%, 0%, 45.5%)
CIE-LABlab(25.78, 47.06, -50.19)
CIE-LCHlch(25.78, 68.80, 313.15°)
OKLaboklab(38.16% 0.0912 -0.1432)
OKLCHoklch(38.16% 0.17 302.5)
XYZxyz(8.9121, 4.6730, 24.8536)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561C8B #518B1C
analogous
#1E1C8B #561C8B #8B1C89
triadic
#561C8B #8B561C #1C8B56
tetradic
#561C8B #8B1E1C #518B1C #1C898B
square
#561C8B #8B1E1C #518B1C #1C898B
split-complementary
#561C8B #898B1C #1C8B1E
monochromatic
#170725 #361258 #561C8B #7626BE #9447DA

Accessibility & contrast

On white

10.85
#561C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561C8B
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561C8B#FFFFFF#000000##FFFFFF
##561C8B1.0010.851.9310.85
#FFFFFF10.851.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #561c8b;
/* rgb */ color: rgb(86, 28, 139);
/* oklch */ color: oklch(38.2% 0.170 302.5);
Tailwind
colors: {
  custom: {
    50: '#8b60ae',
    500: '#561c8b',
    950: '#000000',
  },
}
SCSS
$custom: #561c8b;
$custom-light: #8b60ae;
$custom-dark: #000000;
JSON
{
  "hex": "#561c8b",
  "rgb": {
    "r": 86,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 271.351,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38158,
    "c": 0.1698,
    "h": 302.5
  },
  "luminance": 0.04673
}

Semantic roles & 50–950 ramp

primary
#561C8B
secondary
#7FBC47
accent
#E93E90
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #561C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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