#561E8D#561E8D

#561E8D is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.170 H 301.6°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#561E8D
RGBrgb(86, 30, 141)
HSLhsl(270, 65%, 34%)
HSVhsv(270, 79%, 55%)
CMYKcmyk(39%, 78.7%, 0%, 44.7%)
CIE-LABlab(26.24, 46.72, -50.68)
CIE-LCHlch(26.24, 68.93, 312.67°)
OKLaboklab(38.54% 0.0889 -0.1447)
OKLCHoklch(38.54% 0.17 301.6)
XYZxyz(9.1086, 4.8300, 25.6465)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561E8D #558D1E
analogous
#1E1E8D #561E8D #8D1E8C
triadic
#561E8D #8D561E #1E8D56
tetradic
#561E8D #8D1E1E #558D1E #1E8C8D
square
#561E8D #8D1E1E #558D1E #1E8C8D
split-complementary
#561E8D #8C8D1E #1E8D1E
monochromatic
#180928 #37135B #561E8D #7529BF #934CD9

Accessibility & contrast

On white

10.68
#561E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#561E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561E8D
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561E8D#FFFFFF#000000##FFFFFF
##561E8D1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#4A3B55
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #561e8d;
/* rgb */ color: rgb(86, 30, 141);
/* oklch */ color: oklch(38.5% 0.170 301.6);
Tailwind
colors: {
  custom: {
    50: '#8b61af',
    500: '#561e8d',
    950: '#000000',
  },
}
SCSS
$custom: #561e8d;
$custom-light: #8b61af;
$custom-dark: #000000;
JSON
{
  "hex": "#561e8d",
  "rgb": {
    "r": 86,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 270.27,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38536,
    "c": 0.16982,
    "h": 301.6
  },
  "luminance": 0.0483
}

Semantic roles & 50–950 ramp

primary
#561E8D
secondary
#83BC4B
accent
#E84093
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #561E8D

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

Preview Lab → · Contrast checker → · Palette generator →

#561E8D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva