#561784#561784

#561784 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.168 H 305.5°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#561784
RGBrgb(86, 23, 132)
HSLhsl(275, 70%, 30%)
HSVhsv(275, 83%, 52%)
CMYKcmyk(34.8%, 82.6%, 0%, 48.2%)
CIE-LABlab(24.50, 47.31, -47.90)
CIE-LCHlch(24.50, 67.32, 314.65°)
OKLaboklab(37.08% 0.0973 -0.1365)
OKLCHoklch(37.08% 0.168 305.5)
XYZxyz(8.3081, 4.2572, 22.2094)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561784 #458417
analogous
#1F1784 #561784 #84177B
triadic
#561784 #845617 #178456
tetradic
#561784 #841F17 #458417 #177B84
square
#561784 #841F17 #458417 #177B84
split-complementary
#561784 #7B8417 #17841F
monochromatic
#12051C #340E50 #561784 #7820B8 #9739DC

Accessibility & contrast

On white

11.34
#561784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561784
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561784#FFFFFF#000000##FFFFFF
##5617841.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#003A82
Tritanopia (blue-blind)
#4D344E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #561784;
/* rgb */ color: rgb(86, 23, 132);
/* oklch */ color: oklch(37.1% 0.168 305.5);
Tailwind
colors: {
  custom: {
    50: '#8b5da9',
    500: '#561784',
    950: '#000000',
  },
}
SCSS
$custom: #561784;
$custom-light: #8b5da9;
$custom-dark: #000000;
JSON
{
  "hex": "#561784",
  "rgb": {
    "r": 86,
    "g": 23,
    "b": 132
  },
  "hsl": {
    "h": 274.679,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37078,
    "c": 0.16761,
    "h": 305.5
  },
  "luminance": 0.04257
}

Semantic roles & 50–950 ramp

primary
#561784
secondary
#72B83F
accent
#ED3B86
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #561784

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

Preview Lab → · Contrast checker → · Palette generator →

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