#561D9E#561D9E

#561D9E is a dark, vivid violet. Relative luminance 0.053; OKLCH L 40.0% C 0.189 H 296.6°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#561D9E
RGBrgb(86, 29, 158)
HSLhsl(267, 69%, 37%)
HSVhsv(267, 82%, 62%)
CMYKcmyk(45.6%, 81.6%, 0%, 38%)
CIE-LABlab(27.64, 51.39, -58.85)
CIE-LCHlch(27.64, 78.13, 311.13°)
OKLaboklab(39.98% 0.0846 -0.1687)
OKLCHoklch(39.98% 0.189 296.6)
XYZxyz(10.4470, 5.3256, 32.8186)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561D9E #659E1D
analogous
#1D249E #561D9E #971D9E
triadic
#561D9E #9E561D #1D9E56
tetradic
#561D9E #9E1D24 #659E1D #1D9E97
square
#561D9E #9E1D24 #659E1D #1D9E97
split-complementary
#561D9E #9E971D #249E1D
monochromatic
#1E0A37 #3A146A #561D9E #7226D2 #9356E0

Accessibility & contrast

On white

10.17
#561D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#561D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561D9E
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561D9E#FFFFFF#000000##FFFFFF
##561D9E1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#42425E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #561d9e;
/* rgb */ color: rgb(86, 29, 158);
/* oklch */ color: oklch(40.0% 0.189 296.6);
Tailwind
colors: {
  custom: {
    50: '#8d61bc',
    500: '#561d9e',
    950: '#000000',
  },
}
SCSS
$custom: #561d9e;
$custom-light: #8d61bc;
$custom-dark: #000000;
JSON
{
  "hex": "#561d9e",
  "rgb": {
    "r": 86,
    "g": 29,
    "b": 158
  },
  "hsl": {
    "h": 266.512,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39982,
    "c": 0.18868,
    "h": 296.6
  },
  "luminance": 0.05326
}

Semantic roles & 50–950 ramp

primary
#561D9E
secondary
#92C354
accent
#EC3C9E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #561D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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