#561B81#561B81

#561B81 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.160 H 306.1°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#561B81
RGBrgb(86, 27, 129)
HSLhsl(275, 65%, 31%)
HSVhsv(275, 79%, 51%)
CMYKcmyk(33.3%, 79.1%, 0%, 49.4%)
CIE-LABlab(24.79, 45.04, -45.54)
CIE-LCHlch(24.79, 64.06, 314.68°)
OKLaboklab(37.2% 0.0947 -0.1296)
OKLCHoklch(37.2% 0.16 306.1)
XYZxyz(8.1913, 4.3474, 21.1722)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561B81 #46811B
analogous
#231B81 #561B81 #811B79
triadic
#561B81 #81561B #1B8156
tetradic
#561B81 #81231B #46811B #1B7981
square
#561B81 #81231B #46811B #1B7981
split-complementary
#561B81 #79811B #1B8123
monochromatic
#13061C #34104E #561B81 #7826B4 #973FD7

Accessibility & contrast

On white

11.23
#561B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#561B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561B81
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561B81#FFFFFF#000000##FFFFFF
##561B811.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003984
Deuteranopia (green-blind)
#003B7F
Tritanopia (blue-blind)
#4E354D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #561b81;
/* rgb */ color: rgb(86, 27, 129);
/* oklch */ color: oklch(37.2% 0.160 306.1);
Tailwind
colors: {
  custom: {
    50: '#8a5fa6',
    500: '#561b81',
    950: '#000000',
  },
}
SCSS
$custom: #561b81;
$custom-light: #8a5fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#561b81",
  "rgb": {
    "r": 86,
    "g": 27,
    "b": 129
  },
  "hsl": {
    "h": 274.706,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37197,
    "c": 0.16048,
    "h": 306.1
  },
  "luminance": 0.04347
}

Semantic roles & 50–950 ramp

primary
#561B81
secondary
#73B543
accent
#E83F87
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561B81

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

Preview Lab → · Contrast checker → · Palette generator →

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