#561687#561687

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

Color values

HEX#561687
RGBrgb(86, 22, 135)
HSLhsl(274, 72%, 31%)
HSVhsv(274, 84%, 53%)
CMYKcmyk(36.3%, 83.7%, 0%, 47.1%)
CIE-LABlab(24.64, 48.38, -49.55)
CIE-LCHlch(24.64, 69.25, 314.31°)
OKLaboklab(37.26% 0.0972 -0.1413)
OKLCHoklch(37.26% 0.172 304.5)
XYZxyz(8.4968, 4.3016, 23.2996)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561687 #478716
analogous
#1D1687 #561687 #87167F
triadic
#561687 #875616 #168756
tetradic
#561687 #871D16 #478716 #167F87
square
#561687 #871D16 #478716 #167F87
split-complementary
#561687 #7F8716 #16871D
monochromatic
#13051E #340D52 #561687 #781FBC #9739DF

Accessibility & contrast

On white

11.29
#561687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#561687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561687
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561687#FFFFFF#000000##FFFFFF
##5616871.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398A
Deuteranopia (green-blind)
#003A85
Tritanopia (blue-blind)
#4C3550
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #561687;
/* rgb */ color: rgb(86, 22, 135);
/* oklch */ color: oklch(37.3% 0.172 304.5);
Tailwind
colors: {
  custom: {
    50: '#8b5dab',
    500: '#561687',
    950: '#000000',
  },
}
SCSS
$custom: #561687;
$custom-light: #8b5dab;
$custom-dark: #000000;
JSON
{
  "hex": "#561687",
  "rgb": {
    "r": 86,
    "g": 22,
    "b": 135
  },
  "hsl": {
    "h": 273.982,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37257,
    "c": 0.17151,
    "h": 304.5
  },
  "luminance": 0.04302
}

Semantic roles & 50–950 ramp

primary
#561687
secondary
#74BB3E
accent
#EF3988
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #561687

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

Preview Lab → · Contrast checker → · Palette generator →

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