#561E7D#561E7D

#561E7D is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.153 H 307.3°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#561E7D
RGBrgb(86, 30, 125)
HSLhsl(275, 61%, 30%)
HSVhsv(275, 76%, 49%)
CMYKcmyk(31.2%, 76%, 0%, 51%)
CIE-LABlab(24.91, 42.80, -42.81)
CIE-LCHlch(24.91, 60.53, 314.99°)
OKLaboklab(37.18% 0.0926 -0.1216)
OKLCHoklch(37.18% 0.153 307.3)
XYZxyz(8.0029, 4.3878, 19.8234)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561E7D #457D1E
analogous
#261E7D #561E7D #7D1E74
triadic
#561E7D #7D561E #1E7D56
tetradic
#561E7D #7D261E #457D1E #1E747D
square
#561E7D #7D261E #457D1E #1E747D
split-complementary
#561E7D #747D1E #1E7D26
monochromatic
#12061A #34124C #561E7D #782AAE #9743D2

Accessibility & contrast

On white

11.18
#561E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#561E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561E7D
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561E7D#FFFFFF#000000##FFFFFF
##561E7D1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#003C7B
Tritanopia (blue-blind)
#4F354C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #561e7d;
/* rgb */ color: rgb(86, 30, 125);
/* oklch */ color: oklch(37.2% 0.153 307.3);
Tailwind
colors: {
  custom: {
    50: '#8a60a3',
    500: '#561e7d',
    950: '#000000',
  },
}
SCSS
$custom: #561e7d;
$custom-light: #8a60a3;
$custom-dark: #000000;
JSON
{
  "hex": "#561e7d",
  "rgb": {
    "r": 86,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 275.368,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37184,
    "c": 0.15283,
    "h": 307.3
  },
  "luminance": 0.04388
}

Semantic roles & 50–950 ramp

primary
#561E7D
secondary
#72B046
accent
#E44385
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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