#561B86#561B86

#561B86 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.166 H 304.3°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#561B86
RGBrgb(86, 27, 134)
HSLhsl(273, 66%, 32%)
HSVhsv(273, 80%, 53%)
CMYKcmyk(35.8%, 79.9%, 0%, 47.5%)
CIE-LABlab(25.21, 46.25, -48.00)
CIE-LCHlch(25.21, 66.65, 313.93°)
OKLaboklab(37.62% 0.0934 -0.1368)
OKLCHoklch(37.62% 0.166 304.3)
XYZxyz(8.5318, 4.4836, 22.9656)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561B86 #4B861B
analogous
#201B86 #561B86 #861B81
triadic
#561B86 #86561B #1B8656
tetradic
#561B86 #86201B #4B861B #1B8186
square
#561B86 #86201B #4B861B #1B8186
split-complementary
#561B86 #81861B #1B8620
monochromatic
#150620 #351153 #561B86 #7725B9 #9542D9

Accessibility & contrast

On white

11.07
#561B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#561B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561B86
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561B86#FFFFFF#000000##FFFFFF
##561B861.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003C84
Tritanopia (blue-blind)
#4D3750
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #561b86;
/* rgb */ color: rgb(86, 27, 134);
/* oklch */ color: oklch(37.6% 0.166 304.3);
Tailwind
colors: {
  custom: {
    50: '#8b5faa',
    500: '#561b86',
    950: '#000000',
  },
}
SCSS
$custom: #561b86;
$custom-light: #8b5faa;
$custom-dark: #000000;
JSON
{
  "hex": "#561b86",
  "rgb": {
    "r": 86,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 273.084,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37624,
    "c": 0.16565,
    "h": 304.3
  },
  "luminance": 0.04484
}

Semantic roles & 50–950 ramp

primary
#561B86
secondary
#78B944
accent
#E93E8B
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #561B86

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

Preview Lab → · Contrast checker → · Palette generator →

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