#561B7A#561B7A

#561B7A is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.153 H 308.9°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#561B7A
RGBrgb(86, 27, 122)
HSLhsl(277, 64%, 29%)
HSVhsv(277, 78%, 48%)
CMYKcmyk(29.5%, 77.9%, 0%, 52.2%)
CIE-LABlab(24.22, 43.39, -42.04)
CIE-LCHlch(24.22, 60.41, 315.90°)
OKLaboklab(36.62% 0.0962 -0.1193)
OKLCHoklch(36.62% 0.153 308.9)
XYZxyz(7.7418, 4.1676, 18.8052)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561B7A #3F7A1B
analogous
#271B7A #561B7A #7A1B6F
triadic
#561B7A #7A561B #1B7A56
tetradic
#561B7A #7A271B #3F7A1B #1B6F7A
square
#561B7A #7A271B #3F7A1B #1B6F7A
split-complementary
#561B7A #6F7A1B #1B7A27
monochromatic
#120619 #331048 #561B7A #7926AC #9A3CD4

Accessibility & contrast

On white

11.45
#561B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#561B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561B7A
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561B7A#FFFFFF#000000##FFFFFF
##561B7A1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377D
Deuteranopia (green-blind)
#003A78
Tritanopia (blue-blind)
#503249
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #561b7a;
/* rgb */ color: rgb(86, 27, 122);
/* oklch */ color: oklch(36.6% 0.153 308.9);
Tailwind
colors: {
  custom: {
    50: '#8a5ea1',
    500: '#561b7a',
    950: '#000000',
  },
}
SCSS
$custom: #561b7a;
$custom-light: #8a5ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#561b7a",
  "rgb": {
    "r": 86,
    "g": 27,
    "b": 122
  },
  "hsl": {
    "h": 277.263,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36617,
    "c": 0.15325,
    "h": 308.9
  },
  "luminance": 0.04167
}

Semantic roles & 50–950 ramp

primary
#561B7A
secondary
#6BAE43
accent
#E74180
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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