#561986#561986

#561986 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.168 H 304.6°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#561986
RGBrgb(86, 25, 134)
HSLhsl(274, 69%, 31%)
HSVhsv(274, 81%, 53%)
CMYKcmyk(35.8%, 81.3%, 0%, 47.5%)
CIE-LABlab(24.94, 47.04, -48.45)
CIE-LCHlch(24.94, 67.52, 314.15°)
OKLaboklab(37.43% 0.0951 -0.1381)
OKLCHoklch(37.43% 0.168 304.6)
XYZxyz(8.4875, 4.3950, 22.9508)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561986 #498619
analogous
#1F1986 #561986 #86197F
triadic
#561986 #865619 #198656
tetradic
#561986 #861F19 #498619 #197F86
square
#561986 #861F19 #498619 #197F86
split-complementary
#561986 #7F8619 #19861F
monochromatic
#14061F #350F52 #561986 #7723BA #963EDB

Accessibility & contrast

On white

11.18
#561986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#561986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561986
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561986#FFFFFF#000000##FFFFFF
##5619861.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #561986;
/* rgb */ color: rgb(86, 25, 134);
/* oklch */ color: oklch(37.4% 0.168 304.6);
Tailwind
colors: {
  custom: {
    50: '#8b5eaa',
    500: '#561986',
    950: '#000000',
  },
}
SCSS
$custom: #561986;
$custom-light: #8b5eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#561986",
  "rgb": {
    "r": 86,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 273.578,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37433,
    "c": 0.16768,
    "h": 304.6
  },
  "luminance": 0.04395
}

Semantic roles & 50–950 ramp

primary
#561986
secondary
#76BA41
accent
#EB3C89
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #561986

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

Preview Lab → · Contrast checker → · Palette generator →

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