#561D7D#561D7D

#561D7D is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.154 H 307.4°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#561D7D
RGBrgb(86, 29, 125)
HSLhsl(276, 62%, 30%)
HSVhsv(276, 77%, 49%)
CMYKcmyk(31.2%, 76.8%, 0%, 51%)
CIE-LABlab(24.76, 43.24, -43.06)
CIE-LCHlch(24.76, 61.03, 315.12°)
OKLaboklab(37.07% 0.0936 -0.1223)
OKLCHoklch(37.07% 0.154 307.4)
XYZxyz(7.9780, 4.3379, 19.8151)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561D7D #447D1D
analogous
#261D7D #561D7D #7D1D74
triadic
#561D7D #7D561D #1D7D56
tetradic
#561D7D #7D261D #447D1D #1D747D
square
#561D7D #7D261D #447D1D #1D747D
split-complementary
#561D7D #747D1D #1D7D26
monochromatic
#12061A #34114B #561D7D #7829AF #9841D3

Accessibility & contrast

On white

11.24
#561D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#561D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561D7D
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561D7D#FFFFFF#000000##FFFFFF
##561D7D1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#003B7B
Tritanopia (blue-blind)
#50344B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #561d7d;
/* rgb */ color: rgb(86, 29, 125);
/* oklch */ color: oklch(37.1% 0.154 307.4);
Tailwind
colors: {
  custom: {
    50: '#8a5fa3',
    500: '#561d7d',
    950: '#000000',
  },
}
SCSS
$custom: #561d7d;
$custom-light: #8a5fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#561d7d",
  "rgb": {
    "r": 86,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 275.625,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37074,
    "c": 0.15402,
    "h": 307.4
  },
  "luminance": 0.04338
}

Semantic roles & 50–950 ramp

primary
#561D7D
secondary
#71B145
accent
#E54285
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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