#561D7F#561D7F

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

Color values

HEX#561D7F
RGBrgb(86, 29, 127)
HSLhsl(275, 63%, 31%)
HSVhsv(275, 77%, 50%)
CMYKcmyk(32.3%, 77.2%, 0%, 50.2%)
CIE-LABlab(24.92, 43.72, -44.07)
CIE-LCHlch(24.92, 62.07, 314.77°)
OKLaboklab(37.24% 0.0932 -0.1253)
OKLCHoklch(37.24% 0.156 306.7)
XYZxyz(8.1071, 4.3896, 20.4947)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561D7F #467F1D
analogous
#251D7F #561D7F #7F1D77
triadic
#561D7F #7F561D #1D7F56
tetradic
#561D7F #7F251D #467F1D #1D777F
square
#561D7F #7F251D #467F1D #1D777F
split-complementary
#561D7F #777F1D #1D7F25
monochromatic
#13061B #34124D #561D7F #7828B1 #9742D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##561D7F#FFFFFF#000000##FFFFFF
##561D7F1.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)
#003982
Deuteranopia (green-blind)
#003B7D
Tritanopia (blue-blind)
#4F354D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #561d7f;
/* rgb */ color: rgb(86, 29, 127);
/* oklch */ color: oklch(37.2% 0.156 306.7);
Tailwind
colors: {
  custom: {
    50: '#8a5fa5',
    500: '#561d7f',
    950: '#000000',
  },
}
SCSS
$custom: #561d7f;
$custom-light: #8a5fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#561d7f",
  "rgb": {
    "r": 86,
    "g": 29,
    "b": 127
  },
  "hsl": {
    "h": 274.898,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37238,
    "c": 0.15613,
    "h": 306.7
  },
  "luminance": 0.04389
}

Semantic roles & 50–950 ramp

primary
#561D7F
secondary
#73B245
accent
#E64287
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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