#561C87#561C87

#561C87 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.166 H 303.8°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#561C87
RGBrgb(86, 28, 135)
HSLhsl(273, 66%, 32%)
HSVhsv(273, 79%, 53%)
CMYKcmyk(36.3%, 79.3%, 0%, 47.1%)
CIE-LABlab(25.44, 46.08, -48.26)
CIE-LCHlch(25.44, 66.72, 313.68°)
OKLaboklab(37.81% 0.0922 -0.1376)
OKLCHoklch(37.81% 0.166 303.8)
XYZxyz(8.6252, 4.5582, 23.3424)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561C87 #4D871C
analogous
#201C87 #561C87 #871C83
triadic
#561C87 #87561C #1C8756
tetradic
#561C87 #87201C #4D871C #1C8387
square
#561C87 #87201C #4D871C #1C8387
split-complementary
#561C87 #83871C #1C8720
monochromatic
#150722 #361154 #561C87 #7627BA #9545D8

Accessibility & contrast

On white

10.99
#561C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#561C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561C87
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561C87#FFFFFF#000000##FFFFFF
##561C871.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #561c87;
/* rgb */ color: rgb(86, 28, 135);
/* oklch */ color: oklch(37.8% 0.166 303.8);
Tailwind
colors: {
  custom: {
    50: '#8b5fab',
    500: '#561c87',
    950: '#000000',
  },
}
SCSS
$custom: #561c87;
$custom-light: #8b5fab;
$custom-dark: #000000;
JSON
{
  "hex": "#561c87",
  "rgb": {
    "r": 86,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 272.523,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3781,
    "c": 0.16562,
    "h": 303.8
  },
  "luminance": 0.04558
}

Semantic roles & 50–950 ramp

primary
#561C87
secondary
#7ABA45
accent
#E93F8D
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #561C87

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

Preview Lab → · Contrast checker → · Palette generator →

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