#561C8A#561C8A

#561C8A is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.169 H 302.8°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#561C8A
RGBrgb(86, 28, 138)
HSLhsl(272, 66%, 33%)
HSVhsv(272, 80%, 54%)
CMYKcmyk(37.7%, 79.7%, 0%, 45.9%)
CIE-LABlab(25.70, 46.81, -49.71)
CIE-LCHlch(25.70, 68.28, 313.28°)
OKLaboklab(38.07% 0.0914 -0.1418)
OKLCHoklch(38.07% 0.169 302.8)
XYZxyz(8.8394, 4.6439, 24.4705)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561C8A #508A1C
analogous
#1F1C8A #561C8A #8A1C87
triadic
#561C8A #8A561C #1C8A56
tetradic
#561C8A #8A1F1C #508A1C #1C878A
square
#561C8A #8A1F1C #508A1C #1C878A
split-complementary
#561C8A #878A1C #1C8A1F
monochromatic
#170724 #361257 #561C8A #7626BD #9447DA

Accessibility & contrast

On white

10.89
#561C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561C8A
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561C8A#FFFFFF#000000##FFFFFF
##561C8A1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#4B3953
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #561c8a;
/* rgb */ color: rgb(86, 28, 138);
/* oklch */ color: oklch(38.1% 0.169 302.8);
Tailwind
colors: {
  custom: {
    50: '#8b5fad',
    500: '#561c8a',
    950: '#000000',
  },
}
SCSS
$custom: #561c8a;
$custom-light: #8b5fad;
$custom-dark: #000000;
JSON
{
  "hex": "#561c8a",
  "rgb": {
    "r": 86,
    "g": 28,
    "b": 138
  },
  "hsl": {
    "h": 271.636,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.3807,
    "c": 0.16875,
    "h": 302.8
  },
  "luminance": 0.04644
}

Semantic roles & 50–950 ramp

primary
#561C8A
secondary
#7EBB46
accent
#E93F8F
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #561C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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