#561A8D#561A8D

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

Color values

HEX#561A8D
RGBrgb(86, 26, 141)
HSLhsl(271, 69%, 33%)
HSVhsv(271, 82%, 55%)
CMYKcmyk(39%, 81.6%, 0%, 44.7%)
CIE-LABlab(25.68, 48.34, -51.59)
CIE-LCHlch(25.68, 70.70, 313.13°)
OKLaboklab(38.14% 0.0923 -0.1473)
OKLCHoklch(38.14% 0.174 302)
XYZxyz(9.0137, 4.6403, 25.6149)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561A8D #518D1A
analogous
#1C1A8D #561A8D #8D1A8B
triadic
#561A8D #8D561A #1A8D56
tetradic
#561A8D #8D1C1A #518D1A #1A8B8D
square
#561A8D #8D1C1A #518D1A #1A8B8D
split-complementary
#561A8D #8B8D1A #1A8D1C
monochromatic
#170726 #361059 #561A8D #7624C1 #9445DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##561A8D#FFFFFF#000000##FFFFFF
##561A8D1.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)
#003C90
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#4A3A54
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #561a8d;
/* rgb */ color: rgb(86, 26, 141);
/* oklch */ color: oklch(38.1% 0.174 302.0);
Tailwind
colors: {
  custom: {
    50: '#8c5faf',
    500: '#561a8d',
    950: '#000000',
  },
}
SCSS
$custom: #561a8d;
$custom-light: #8c5faf;
$custom-dark: #000000;
JSON
{
  "hex": "#561a8d",
  "rgb": {
    "r": 86,
    "g": 26,
    "b": 141
  },
  "hsl": {
    "h": 271.304,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38144,
    "c": 0.17385,
    "h": 302
  },
  "luminance": 0.0464
}

Semantic roles & 50–950 ramp

primary
#561A8D
secondary
#7FBE45
accent
#EC3C90
background
#F9F5FA
surface
#F1EAF5
border
#CBC6CF
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #561A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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