#561E9D#561E9D

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

Color values

HEX#561E9D
RGBrgb(86, 30, 157)
HSLhsl(266, 68%, 37%)
HSVhsv(266, 81%, 62%)
CMYKcmyk(45.2%, 80.9%, 0%, 38.4%)
CIE-LABlab(27.69, 50.74, -58.17)
CIE-LCHlch(27.69, 77.19, 311.10°)
OKLaboklab(39.98% 0.0841 -0.1667)
OKLCHoklch(39.98% 0.187 296.8)
XYZxyz(10.3862, 5.3411, 32.3755)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561E9D #659D1E
analogous
#1E269D #561E9D #961E9D
triadic
#561E9D #9D561E #1E9D56
tetradic
#561E9D #9D1E26 #659D1E #1E9D96
square
#561E9D #9D1E26 #659D1E #1E9D96
split-complementary
#561E9D #9D961E #269D1E
monochromatic
#1E0A36 #3A146A #561E9D #7228D0 #9357DF

Accessibility & contrast

On white

10.15
#561E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561E9D
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561E9D#FFFFFF#000000##FFFFFF
##561E9D1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A0
Deuteranopia (green-blind)
#00409B
Tritanopia (blue-blind)
#43425E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #561e9d;
/* rgb */ color: rgb(86, 30, 157);
/* oklch */ color: oklch(40.0% 0.187 296.8);
Tailwind
colors: {
  custom: {
    50: '#8d61bb',
    500: '#561e9d',
    950: '#000000',
  },
}
SCSS
$custom: #561e9d;
$custom-light: #8d61bb;
$custom-dark: #000000;
JSON
{
  "hex": "#561e9d",
  "rgb": {
    "r": 86,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 266.457,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39983,
    "c": 0.18671,
    "h": 296.8
  },
  "luminance": 0.05341
}

Semantic roles & 50–950 ramp

primary
#561E9D
secondary
#92C254
accent
#EB3D9E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #561E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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