#561D7A#561D7A

#561D7A is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.151 H 308.6°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#561D7A
RGBrgb(86, 29, 122)
HSLhsl(277, 62%, 30%)
HSVhsv(277, 76%, 48%)
CMYKcmyk(29.5%, 76.2%, 0%, 52.2%)
CIE-LABlab(24.52, 42.52, -41.55)
CIE-LCHlch(24.52, 59.45, 315.67°)
OKLaboklab(36.83% 0.0942 -0.1178)
OKLCHoklch(36.83% 0.151 308.6)
XYZxyz(7.7892, 4.2624, 18.8210)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561D7A #417A1D
analogous
#281D7A #561D7A #7A1D70
triadic
#561D7A #7A561D #1D7A56
tetradic
#561D7A #7A281D #417A1D #1D707A
square
#561D7A #7A281D #417A1D #1D707A
split-complementary
#561D7A #707A1D #1D7A28
monochromatic
#110619 #331149 #561D7A #7929AB #9940D2

Accessibility & contrast

On white

11.34
#561D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#561D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561D7A
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561D7A#FFFFFF#000000##FFFFFF
##561D7A1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#013B78
Tritanopia (blue-blind)
#50334A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #561d7a;
/* rgb */ color: rgb(86, 29, 122);
/* oklch */ color: oklch(36.8% 0.151 308.6);
Tailwind
colors: {
  custom: {
    50: '#8a5fa1',
    500: '#561d7a',
    950: '#000000',
  },
}
SCSS
$custom: #561d7a;
$custom-light: #8a5fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#561d7a",
  "rgb": {
    "r": 86,
    "g": 29,
    "b": 122
  },
  "hsl": {
    "h": 276.774,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36831,
    "c": 0.15087,
    "h": 308.6
  },
  "luminance": 0.04262
}

Semantic roles & 50–950 ramp

primary
#561D7A
secondary
#6EAE45
accent
#E54382
background
#F8F5FA
surface
#F0EAF3
border
#CBC6CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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