#561682#561682

#561682 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.167 H 306.3°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#561682
RGBrgb(86, 22, 130)
HSLhsl(276, 71%, 30%)
HSVhsv(276, 83%, 51%)
CMYKcmyk(33.8%, 83.1%, 0%, 49%)
CIE-LABlab(24.21, 47.21, -47.12)
CIE-LCHlch(24.21, 66.70, 315.05°)
OKLaboklab(36.82% 0.0987 -0.1342)
OKLCHoklch(36.82% 0.167 306.3)
XYZxyz(8.1530, 4.1640, 21.4890)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561682 #428216
analogous
#201682 #561682 #821678
triadic
#561682 #825616 #168256
tetradic
#561682 #822016 #428216 #167882
square
#561682 #822016 #428216 #167882
split-complementary
#561682 #788216 #168220
monochromatic
#11041A #330D4E #561682 #791FB6 #9935DD

Accessibility & contrast

On white

11.46
#561682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561682
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561682#FFFFFF#000000##FFFFFF
##5616821.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003885
Deuteranopia (green-blind)
#003A80
Tritanopia (blue-blind)
#4E334D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #561682;
/* rgb */ color: rgb(86, 22, 130);
/* oklch */ color: oklch(36.8% 0.167 306.3);
Tailwind
colors: {
  custom: {
    50: '#8b5ca7',
    500: '#561682',
    950: '#000000',
  },
}
SCSS
$custom: #561682;
$custom-light: #8b5ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#561682",
  "rgb": {
    "r": 86,
    "g": 22,
    "b": 130
  },
  "hsl": {
    "h": 275.556,
    "s": 71.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36817,
    "c": 0.16657,
    "h": 306.3
  },
  "luminance": 0.04164
}

Semantic roles & 50–950 ramp

primary
#561682
secondary
#6FB73D
accent
#EE3A83
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #561682

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

Preview Lab → · Contrast checker → · Palette generator →

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