#561B96#561B96

#561B96 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.1% C 0.182 H 299.1°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#561B96
RGBrgb(86, 27, 150)
HSLhsl(269, 69%, 35%)
HSVhsv(269, 82%, 59%)
CMYKcmyk(42.7%, 82%, 0%, 41.2%)
CIE-LABlab(26.63, 50.16, -55.61)
CIE-LCHlch(26.63, 74.89, 312.05°)
OKLaboklab(39.05% 0.0887 -0.1591)
OKLCHoklch(39.05% 0.182 299.1)
XYZxyz(9.7333, 4.9642, 29.2936)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561B96 #5B961B
analogous
#1B1E96 #561B96 #931B96
triadic
#561B96 #96561B #1B9656
tetradic
#561B96 #961B1E #5B961B #1B9693
square
#561B96 #961B1E #5B961B #1B9693
split-complementary
#561B96 #96931B #1E961B
monochromatic
#1B082E #381262 #561B96 #7424CA #934DDF

Accessibility & contrast

On white

10.54
#561B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#561B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561B96
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561B96#FFFFFF#000000##FFFFFF
##561B961.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003E94
Tritanopia (blue-blind)
#463E59
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #561b96;
/* rgb */ color: rgb(86, 27, 150);
/* oklch */ color: oklch(39.1% 0.182 299.1);
Tailwind
colors: {
  custom: {
    50: '#8c60b6',
    500: '#561b96',
    950: '#000000',
  },
}
SCSS
$custom: #561b96;
$custom-light: #8c60b6;
$custom-dark: #000000;
JSON
{
  "hex": "#561b96",
  "rgb": {
    "r": 86,
    "g": 27,
    "b": 150
  },
  "hsl": {
    "h": 268.78,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39054,
    "c": 0.18217,
    "h": 299.1
  },
  "luminance": 0.04964
}

Semantic roles & 50–950 ramp

primary
#561B96
secondary
#89C14C
accent
#EC3B97
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #561B96

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

Preview Lab → · Contrast checker → · Palette generator →

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