#561786#561786

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

Color values

HEX#561786
RGBrgb(86, 23, 134)
HSLhsl(274, 71%, 31%)
HSVhsv(274, 83%, 53%)
CMYKcmyk(35.8%, 82.8%, 0%, 47.5%)
CIE-LABlab(24.68, 47.78, -48.87)
CIE-LCHlch(24.68, 68.35, 314.36°)
OKLaboklab(37.25% 0.0967 -0.1393)
OKLCHoklch(37.25% 0.17 304.8)
XYZxyz(8.4462, 4.3125, 22.9371)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561786 #478617
analogous
#1E1786 #561786 #86177E
triadic
#561786 #865617 #178656
tetradic
#561786 #861E17 #478617 #177E86
square
#561786 #861E17 #478617 #177E86
split-complementary
#561786 #7E8617 #17861E
monochromatic
#13051E #340E52 #561786 #7820BA #973ADD

Accessibility & contrast

On white

11.28
#561786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561786
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561786#FFFFFF#000000##FFFFFF
##5617861.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#003B84
Tritanopia (blue-blind)
#4D354F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #561786;
/* rgb */ color: rgb(86, 23, 134);
/* oklch */ color: oklch(37.3% 0.170 304.8);
Tailwind
colors: {
  custom: {
    50: '#8b5daa',
    500: '#561786',
    950: '#000000',
  },
}
SCSS
$custom: #561786;
$custom-light: #8b5daa;
$custom-dark: #000000;
JSON
{
  "hex": "#561786",
  "rgb": {
    "r": 86,
    "g": 23,
    "b": 134
  },
  "hsl": {
    "h": 274.054,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37253,
    "c": 0.16961,
    "h": 304.8
  },
  "luminance": 0.04312
}

Semantic roles & 50–950 ramp

primary
#561786
secondary
#74BA3F
accent
#ED3A88
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #561786

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

Preview Lab → · Contrast checker → · Palette generator →

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