#561B9E#561B9E

#561B9E is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.8% C 0.190 H 296.8°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#561B9E
RGBrgb(86, 27, 158)
HSLhsl(267, 71%, 36%)
HSVhsv(267, 83%, 62%)
CMYKcmyk(45.6%, 82.9%, 0%, 38%)
CIE-LABlab(27.38, 52.15, -59.28)
CIE-LCHlch(27.38, 78.95, 311.34°)
OKLaboklab(39.8% 0.086 -0.1699)
OKLCHoklch(39.8% 0.19 296.8)
XYZxyz(10.3996, 5.2307, 32.8028)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561B9E #639E1B
analogous
#1B229E #561B9E #981B9E
triadic
#561B9E #9E561B #1B9E56
tetradic
#561B9E #9E1B22 #639E1B #1B9E98
square
#561B9E #9E1B22 #639E1B #1B9E98
split-complementary
#561B9E #9E981B #229E1B
monochromatic
#1D0935 #3A126A #561B9E #7224D2 #9352E1

Accessibility & contrast

On white

10.26
#561B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#561B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561B9E
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561B9E#FFFFFF#000000##FFFFFF
##561B9E1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#42415E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #561b9e;
/* rgb */ color: rgb(86, 27, 158);
/* oklch */ color: oklch(39.8% 0.190 296.8);
Tailwind
colors: {
  custom: {
    50: '#8d60bc',
    500: '#561b9e',
    950: '#000000',
  },
}
SCSS
$custom: #561b9e;
$custom-light: #8d60bc;
$custom-dark: #000000;
JSON
{
  "hex": "#561b9e",
  "rgb": {
    "r": 86,
    "g": 27,
    "b": 158
  },
  "hsl": {
    "h": 267.023,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39802,
    "c": 0.19041,
    "h": 296.8
  },
  "luminance": 0.05231
}

Semantic roles & 50–950 ramp

primary
#561B9E
secondary
#90C451
accent
#EE3A9D
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #561B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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