#561D81#561D81

#561D81 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.158 H 305.9°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#561D81
RGBrgb(86, 29, 129)
HSLhsl(274, 63%, 31%)
HSVhsv(274, 78%, 51%)
CMYKcmyk(33.3%, 77.5%, 0%, 49.4%)
CIE-LABlab(25.08, 44.20, -45.07)
CIE-LCHlch(25.08, 63.12, 314.45°)
OKLaboklab(37.4% 0.0928 -0.1282)
OKLCHoklch(37.4% 0.158 305.9)
XYZxyz(8.2387, 4.4422, 21.1880)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561D81 #48811D
analogous
#241D81 #561D81 #811D7A
triadic
#561D81 #81561D #1D8156
tetradic
#561D81 #81241D #48811D #1D7A81
square
#561D81 #81241D #48811D #1D7A81
split-complementary
#561D81 #7A811D #1D8124
monochromatic
#13071D #35124F #561D81 #7728B3 #9644D5

Accessibility & contrast

On white

11.12
#561D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#561D81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561D81
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561D81#FFFFFF#000000##FFFFFF
##561D811.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A84
Deuteranopia (green-blind)
#003C7F
Tritanopia (blue-blind)
#4E364E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #561d81;
/* rgb */ color: rgb(86, 29, 129);
/* oklch */ color: oklch(37.4% 0.158 305.9);
Tailwind
colors: {
  custom: {
    50: '#8a5fa6',
    500: '#561d81',
    950: '#000000',
  },
}
SCSS
$custom: #561d81;
$custom-light: #8a5fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#561d81",
  "rgb": {
    "r": 86,
    "g": 29,
    "b": 129
  },
  "hsl": {
    "h": 274.2,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37404,
    "c": 0.15823,
    "h": 305.9
  },
  "luminance": 0.04442
}

Semantic roles & 50–950 ramp

primary
#561D81
secondary
#75B446
accent
#E64188
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561D81

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

Preview Lab → · Contrast checker → · Palette generator →

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