#561E87#561E87

#561E87 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.163 H 303.6°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#561E87
RGBrgb(86, 30, 135)
HSLhsl(272, 64%, 32%)
HSVhsv(272, 78%, 53%)
CMYKcmyk(36.3%, 77.8%, 0%, 47.1%)
CIE-LABlab(25.73, 45.23, -47.78)
CIE-LCHlch(25.73, 65.79, 313.43°)
OKLaboklab(38.02% 0.0904 -0.1362)
OKLCHoklch(38.02% 0.163 303.6)
XYZxyz(8.6742, 4.6563, 23.3587)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561E87 #4F871E
analogous
#221E87 #561E87 #871E83
triadic
#561E87 #87561E #1E8756
tetradic
#561E87 #87221E #4F871E #1E8387
square
#561E87 #87221E #4F871E #1E8387
split-complementary
#561E87 #83871E #1E8722
monochromatic
#160823 #361355 #561E87 #7629B9 #9449D7

Accessibility & contrast

On white

10.87
#561E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561E87
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561E87#FFFFFF#000000##FFFFFF
##561E871.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8A
Deuteranopia (green-blind)
#003D85
Tritanopia (blue-blind)
#4C3951
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #561e87;
/* rgb */ color: rgb(86, 30, 135);
/* oklch */ color: oklch(38.0% 0.163 303.6);
Tailwind
colors: {
  custom: {
    50: '#8b60ab',
    500: '#561e87',
    950: '#000000',
  },
}
SCSS
$custom: #561e87;
$custom-light: #8b60ab;
$custom-dark: #000000;
JSON
{
  "hex": "#561e87",
  "rgb": {
    "r": 86,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 272,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38017,
    "c": 0.16345,
    "h": 303.6
  },
  "luminance": 0.04656
}

Semantic roles & 50–950 ramp

primary
#561E87
secondary
#7DB948
accent
#E7418E
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #561E87

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

Preview Lab → · Contrast checker → · Palette generator →

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