#561686#561686

#561686 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.171 H 304.9°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#561686
RGBrgb(86, 22, 134)
HSLhsl(274, 72%, 31%)
HSVhsv(274, 84%, 53%)
CMYKcmyk(35.8%, 83.6%, 0%, 47.5%)
CIE-LABlab(24.56, 48.14, -49.07)
CIE-LCHlch(24.56, 68.74, 314.45°)
OKLaboklab(37.17% 0.0975 -0.1399)
OKLCHoklch(37.17% 0.171 304.9)
XYZxyz(8.4268, 4.2735, 22.9306)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561686 #468616
analogous
#1E1686 #561686 #86167E
triadic
#561686 #865616 #168656
tetradic
#561686 #861E16 #468616 #167E86
square
#561686 #861E16 #468616 #167E86
split-complementary
#561686 #7E8616 #16861E
monochromatic
#13051D #340D51 #561686 #781FBB #9738DE

Accessibility & contrast

On white

11.32
#561686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#561686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561686
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561686#FFFFFF#000000##FFFFFF
##5616861.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #561686;
/* rgb */ color: rgb(86, 22, 134);
/* oklch */ color: oklch(37.2% 0.171 304.9);
Tailwind
colors: {
  custom: {
    50: '#8b5daa',
    500: '#561686',
    950: '#000000',
  },
}
SCSS
$custom: #561686;
$custom-light: #8b5daa;
$custom-dark: #000000;
JSON
{
  "hex": "#561686",
  "rgb": {
    "r": 86,
    "g": 22,
    "b": 134
  },
  "hsl": {
    "h": 274.286,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37168,
    "c": 0.17052,
    "h": 304.9
  },
  "luminance": 0.04273
}

Semantic roles & 50–950 ramp

primary
#561686
secondary
#73BA3E
accent
#EF3987
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #561686

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

Preview Lab → · Contrast checker → · Palette generator →

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