#561B8A#561B8A

#561B8A is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.170 H 302.9°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#561B8A
RGBrgb(86, 27, 138)
HSLhsl(272, 67%, 32%)
HSVhsv(272, 80%, 54%)
CMYKcmyk(37.7%, 80.4%, 0%, 45.9%)
CIE-LABlab(25.56, 47.22, -49.94)
CIE-LCHlch(25.56, 68.72, 313.40°)
OKLaboklab(37.97% 0.0923 -0.1425)
OKLCHoklch(37.97% 0.17 302.9)
XYZxyz(8.8160, 4.5973, 24.4627)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561B8A #4F8A1B
analogous
#1F1B8A #561B8A #8A1B87
triadic
#561B8A #8A561B #1B8A56
tetradic
#561B8A #8A1F1B #4F8A1B #1B878A
square
#561B8A #8A1F1B #4F8A1B #1B878A
split-complementary
#561B8A #878A1B #1B8A1F
monochromatic
#160724 #361157 #561B8A #7625BD #9445DB

Accessibility & contrast

On white

10.94
#561B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#561B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561B8A
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561B8A#FFFFFF#000000##FFFFFF
##561B8A1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #561b8a;
/* rgb */ color: rgb(86, 27, 138);
/* oklch */ color: oklch(38.0% 0.170 302.9);
Tailwind
colors: {
  custom: {
    50: '#8b5fad',
    500: '#561b8a',
    950: '#000000',
  },
}
SCSS
$custom: #561b8a;
$custom-light: #8b5fad;
$custom-dark: #000000;
JSON
{
  "hex": "#561b8a",
  "rgb": {
    "r": 86,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 271.892,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37973,
    "c": 0.16978,
    "h": 302.9
  },
  "luminance": 0.04597
}

Semantic roles & 50–950 ramp

primary
#561B8A
secondary
#7DBC45
accent
#EA3E8E
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #561B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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