#561E8C#561E8C

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

Color values

HEX#561E8C
RGBrgb(86, 30, 140)
HSLhsl(271, 65%, 33%)
HSVhsv(271, 79%, 55%)
CMYKcmyk(38.6%, 78.6%, 0%, 45.1%)
CIE-LABlab(26.16, 46.47, -50.20)
CIE-LCHlch(26.16, 68.41, 312.79°)
OKLaboklab(38.45% 0.0891 -0.1433)
OKLCHoklch(38.45% 0.169 301.9)
XYZxyz(9.0345, 4.8004, 25.2565)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561E8C #548C1E
analogous
#1F1E8C #561E8C #8C1E8B
triadic
#561E8C #8C561E #1E8C56
tetradic
#561E8C #8C1F1E #548C1E #1E8B8C
square
#561E8C #8C1F1E #548C1E #1E8B8C
split-complementary
#561E8C #8B8C1E #1E8C1F
monochromatic
#180827 #37135A #561E8C #7529BE #934CD9

Accessibility & contrast

On white

10.71
#561E8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#561E8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561E8C
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561E8C#FFFFFF#000000##FFFFFF
##561E8C1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#003D8A
Tritanopia (blue-blind)
#4A3B54
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #561e8c;
/* rgb */ color: rgb(86, 30, 140);
/* oklch */ color: oklch(38.4% 0.169 301.9);
Tailwind
colors: {
  custom: {
    50: '#8b61ae',
    500: '#561e8c',
    950: '#000000',
  },
}
SCSS
$custom: #561e8c;
$custom-light: #8b61ae;
$custom-dark: #000000;
JSON
{
  "hex": "#561e8c",
  "rgb": {
    "r": 86,
    "g": 30,
    "b": 140
  },
  "hsl": {
    "h": 270.545,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38448,
    "c": 0.16876,
    "h": 301.9
  },
  "luminance": 0.048
}

Semantic roles & 50–950 ramp

primary
#561E8C
secondary
#82BB4B
accent
#E84092
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #561E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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