#561787#561787

#561787 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.3% C 0.171 H 304.4°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#561787
RGBrgb(86, 23, 135)
HSLhsl(274, 71%, 31%)
HSVhsv(274, 83%, 53%)
CMYKcmyk(36.3%, 83%, 0%, 47.1%)
CIE-LABlab(24.77, 48.02, -49.35)
CIE-LCHlch(24.77, 68.86, 314.22°)
OKLaboklab(37.34% 0.0964 -0.1407)
OKLCHoklch(37.34% 0.171 304.4)
XYZxyz(8.5163, 4.3405, 23.3061)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561787 #488717
analogous
#1E1787 #561787 #871780
triadic
#561787 #875617 #178756
tetradic
#561787 #871E17 #488717 #178087
square
#561787 #871E17 #488717 #178087
split-complementary
#561787 #808717 #17871E
monochromatic
#13051E #350E53 #561787 #7720BB #963BDE

Accessibility & contrast

On white

11.24
#561787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#561787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561787
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561787#FFFFFF#000000##FFFFFF
##5617871.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398A
Deuteranopia (green-blind)
#003B85
Tritanopia (blue-blind)
#4C3650
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #561787;
/* rgb */ color: rgb(86, 23, 135);
/* oklch */ color: oklch(37.3% 0.171 304.4);
Tailwind
colors: {
  custom: {
    50: '#8b5dab',
    500: '#561787',
    950: '#000000',
  },
}
SCSS
$custom: #561787;
$custom-light: #8b5dab;
$custom-dark: #000000;
JSON
{
  "hex": "#561787",
  "rgb": {
    "r": 86,
    "g": 23,
    "b": 135
  },
  "hsl": {
    "h": 273.75,
    "s": 70.886,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37342,
    "c": 0.17061,
    "h": 304.4
  },
  "luminance": 0.0434
}

Semantic roles & 50–950 ramp

primary
#561787
secondary
#75BB3F
accent
#EE3A89
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #561787

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

Preview Lab → · Contrast checker → · Palette generator →

#561787 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva