#561582#561582

#561582 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.7% C 0.167 H 306.4°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#561582
RGBrgb(86, 21, 130)
HSLhsl(276, 72%, 30%)
HSVhsv(276, 84%, 51%)
CMYKcmyk(33.8%, 83.8%, 0%, 49%)
CIE-LABlab(24.09, 47.56, -47.32)
CIE-LCHlch(24.09, 67.09, 315.14°)
OKLaboklab(36.73% 0.0995 -0.1348)
OKLCHoklch(36.73% 0.167 306.4)
XYZxyz(8.1343, 4.1266, 21.4827)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561582 #418215
analogous
#201582 #561582 #821578
triadic
#561582 #825615 #158256
tetradic
#561582 #822015 #418215 #157882
square
#561582 #822015 #418215 #157882
split-complementary
#561582 #788215 #158220
monochromatic
#11041A #330C4D #561582 #791EB7 #9933DE

Accessibility & contrast

On white

11.51
#561582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#561582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561582
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561582#FFFFFF#000000##FFFFFF
##5615821.0011.511.8311.51
#FFFFFF11.511.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003785
Deuteranopia (green-blind)
#003A80
Tritanopia (blue-blind)
#4E334D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #561582;
/* rgb */ color: rgb(86, 21, 130);
/* oklch */ color: oklch(36.7% 0.167 306.4);
Tailwind
colors: {
  custom: {
    50: '#8b5ca7',
    500: '#561582',
    950: '#000000',
  },
}
SCSS
$custom: #561582;
$custom-light: #8b5ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#561582",
  "rgb": {
    "r": 86,
    "g": 21,
    "b": 130
  },
  "hsl": {
    "h": 275.78,
    "s": 72.185,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36732,
    "c": 0.16749,
    "h": 306.4
  },
  "luminance": 0.04126
}

Semantic roles & 50–950 ramp

primary
#561582
secondary
#6EB73C
accent
#EF3982
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #561582

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

Preview Lab → · Contrast checker → · Palette generator →

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