#561A87#561A87

#561A87 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.168 H 304.1°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#561A87
RGBrgb(86, 26, 135)
HSLhsl(273, 68%, 32%)
HSVhsv(273, 81%, 53%)
CMYKcmyk(36.3%, 80.7%, 0%, 47.1%)
CIE-LABlab(25.16, 46.89, -48.71)
CIE-LCHlch(25.16, 67.61, 313.91°)
OKLaboklab(37.61% 0.094 -0.1389)
OKLCHoklch(37.61% 0.168 304.1)
XYZxyz(8.5793, 4.4665, 23.3271)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561A87 #4B871A
analogous
#201A87 #561A87 #871A82
triadic
#561A87 #87561A #1A8756
tetradic
#561A87 #87201A #4B871A #1A8287
square
#561A87 #87201A #4B871A #1A8287
split-complementary
#561A87 #82871A #1A8720
monochromatic
#150620 #351054 #561A87 #7724BA #9541DA

Accessibility & contrast

On white

11.09
#561A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#561A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561A87
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561A87#FFFFFF#000000##FFFFFF
##561A871.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8A
Deuteranopia (green-blind)
#003C85
Tritanopia (blue-blind)
#4C3750
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #561a87;
/* rgb */ color: rgb(86, 26, 135);
/* oklch */ color: oklch(37.6% 0.168 304.1);
Tailwind
colors: {
  custom: {
    50: '#8b5eab',
    500: '#561a87',
    950: '#000000',
  },
}
SCSS
$custom: #561a87;
$custom-light: #8b5eab;
$custom-dark: #000000;
JSON
{
  "hex": "#561a87",
  "rgb": {
    "r": 86,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 273.028,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37614,
    "c": 0.1677,
    "h": 304.1
  },
  "luminance": 0.04466
}

Semantic roles & 50–950 ramp

primary
#561A87
secondary
#78BA42
accent
#EB3D8B
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #561A87

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

Preview Lab → · Contrast checker → · Palette generator →

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