#561D96#561D96

#561D96 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.180 H 298.9°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#561D96
RGBrgb(86, 29, 150)
HSLhsl(268, 68%, 35%)
HSVhsv(268, 81%, 59%)
CMYKcmyk(42.7%, 80.7%, 0%, 41.2%)
CIE-LABlab(26.90, 49.38, -55.17)
CIE-LCHlch(26.90, 74.04, 311.83°)
OKLaboklab(39.24% 0.0871 -0.1579)
OKLCHoklch(39.24% 0.18 298.9)
XYZxyz(9.7807, 5.0590, 29.3094)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561D96 #5D961D
analogous
#1D2196 #561D96 #921D96
triadic
#561D96 #96561D #1D9656
tetradic
#561D96 #961D21 #5D961D #1D9692
square
#561D96 #961D21 #5D961D #1D9692
split-complementary
#561D96 #96921D #21961D
monochromatic
#1B092F #391363 #561D96 #7327C9 #9350DD

Accessibility & contrast

On white

10.44
#561D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#561D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561D96
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561D96#FFFFFF#000000##FFFFFF
##561D961.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003E94
Tritanopia (blue-blind)
#463F5A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #561d96;
/* rgb */ color: rgb(86, 29, 150);
/* oklch */ color: oklch(39.2% 0.180 298.9);
Tailwind
colors: {
  custom: {
    50: '#8c61b6',
    500: '#561d96',
    950: '#000000',
  },
}
SCSS
$custom: #561d96;
$custom-light: #8c61b6;
$custom-dark: #000000;
JSON
{
  "hex": "#561d96",
  "rgb": {
    "r": 86,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 268.264,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39242,
    "c": 0.1803,
    "h": 298.9
  },
  "luminance": 0.05059
}

Semantic roles & 50–950 ramp

primary
#561D96
secondary
#8BC04F
accent
#EA3D99
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #561D96

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

Preview Lab → · Contrast checker → · Palette generator →

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