#561B8B#561B8B

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

Color values

HEX#561B8B
RGBrgb(86, 27, 139)
HSLhsl(272, 67%, 33%)
HSVhsv(272, 81%, 55%)
CMYKcmyk(38.1%, 80.6%, 0%, 45.5%)
CIE-LABlab(25.64, 47.46, -50.42)
CIE-LCHlch(25.64, 69.24, 313.27°)
OKLaboklab(38.06% 0.092 -0.1439)
OKLCHoklch(38.06% 0.171 302.6)
XYZxyz(8.8888, 4.6264, 24.8458)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561B8B #508B1B
analogous
#1E1B8B #561B8B #8B1B88
triadic
#561B8B #8B561B #1B8B56
tetradic
#561B8B #8B1E1B #508B1B #1B888B
square
#561B8B #8B1E1B #508B1B #1B888B
split-complementary
#561B8B #888B1B #1B8B1E
monochromatic
#170725 #361158 #561B8B #7625BE #9445DB

Accessibility & contrast

On white

10.91
#561B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561B8B
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561B8B#FFFFFF#000000##FFFFFF
##561B8B1.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #561b8b;
/* rgb */ color: rgb(86, 27, 139);
/* oklch */ color: oklch(38.1% 0.171 302.6);
Tailwind
colors: {
  custom: {
    50: '#8b5fae',
    500: '#561b8b',
    950: '#000000',
  },
}
SCSS
$custom: #561b8b;
$custom-light: #8b5fae;
$custom-dark: #000000;
JSON
{
  "hex": "#561b8b",
  "rgb": {
    "r": 86,
    "g": 27,
    "b": 139
  },
  "hsl": {
    "h": 271.607,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38061,
    "c": 0.17081,
    "h": 302.6
  },
  "luminance": 0.04626
}

Semantic roles & 50–950 ramp

primary
#561B8B
secondary
#7EBC45
accent
#EA3D8F
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #561B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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