#561E8A#561E8A

#561E8A is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.167 H 302.6°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#561E8A
RGBrgb(86, 30, 138)
HSLhsl(271, 64%, 33%)
HSVhsv(271, 78%, 54%)
CMYKcmyk(37.7%, 78.3%, 0%, 45.9%)
CIE-LABlab(25.99, 45.97, -49.23)
CIE-LCHlch(25.99, 67.36, 313.04°)
OKLaboklab(38.28% 0.0897 -0.1404)
OKLCHoklch(38.28% 0.167 302.6)
XYZxyz(8.8884, 4.7419, 24.4868)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561E8A #528A1E
analogous
#201E8A #561E8A #8A1E88
triadic
#561E8A #8A561E #1E8A56
tetradic
#561E8A #8A201E #528A1E #1E888A
square
#561E8A #8A201E #528A1E #1E888A
split-complementary
#561E8A #888A1E #1E8A20
monochromatic
#170825 #371358 #561E8A #7529BC #944BD8

Accessibility & contrast

On white

10.78
#561E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561E8A
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561E8A#FFFFFF#000000##FFFFFF
##561E8A1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#4B3A53
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #561e8a;
/* rgb */ color: rgb(86, 30, 138);
/* oklch */ color: oklch(38.3% 0.167 302.6);
Tailwind
colors: {
  custom: {
    50: '#8b60ad',
    500: '#561e8a',
    950: '#000000',
  },
}
SCSS
$custom: #561e8a;
$custom-light: #8b60ad;
$custom-dark: #000000;
JSON
{
  "hex": "#561e8a",
  "rgb": {
    "r": 86,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 271.111,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38275,
    "c": 0.16663,
    "h": 302.6
  },
  "luminance": 0.04742
}

Semantic roles & 50–950 ramp

primary
#561E8A
secondary
#80BA4A
accent
#E74191
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #561E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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