#561E8B#561E8B

#561E8B is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.168 H 302.2°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#561E8B
RGBrgb(86, 30, 139)
HSLhsl(271, 64%, 33%)
HSVhsv(271, 78%, 55%)
CMYKcmyk(38.1%, 78.4%, 0%, 45.5%)
CIE-LABlab(26.07, 46.22, -49.72)
CIE-LCHlch(26.07, 67.88, 312.91°)
OKLaboklab(38.36% 0.0894 -0.1419)
OKLCHoklch(38.36% 0.168 302.2)
XYZxyz(8.9611, 4.7710, 24.8699)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561E8B #538B1E
analogous
#201E8B #561E8B #8B1E89
triadic
#561E8B #8B561E #1E8B56
tetradic
#561E8B #8B201E #538B1E #1E898B
square
#561E8B #8B201E #538B1E #1E898B
split-complementary
#561E8B #898B1E #1E8B20
monochromatic
#180826 #371359 #561E8B #7529BD #944BD8

Accessibility & contrast

On white

10.75
#561E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#561E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561E8B
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561E8B#FFFFFF#000000##FFFFFF
##561E8B1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#4B3A54
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #561e8b;
/* rgb */ color: rgb(86, 30, 139);
/* oklch */ color: oklch(38.4% 0.168 302.2);
Tailwind
colors: {
  custom: {
    50: '#8b60ae',
    500: '#561e8b',
    950: '#000000',
  },
}
SCSS
$custom: #561e8b;
$custom-light: #8b60ae;
$custom-dark: #000000;
JSON
{
  "hex": "#561e8b",
  "rgb": {
    "r": 86,
    "g": 30,
    "b": 139
  },
  "hsl": {
    "h": 270.826,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38361,
    "c": 0.16769,
    "h": 302.2
  },
  "luminance": 0.04771
}

Semantic roles & 50–950 ramp

primary
#561E8B
secondary
#81BB4A
accent
#E74092
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #561E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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