#561B8E#561B8E

#561B8E is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.174 H 301.6°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#561B8E
RGBrgb(86, 27, 142)
HSLhsl(271, 68%, 33%)
HSVhsv(271, 81%, 56%)
CMYKcmyk(39.4%, 81%, 0%, 44.3%)
CIE-LABlab(25.91, 48.19, -51.85)
CIE-LCHlch(25.91, 70.79, 312.91°)
OKLaboklab(38.33% 0.0911 -0.1481)
OKLCHoklch(38.33% 0.174 301.6)
XYZxyz(9.1110, 4.7152, 26.0161)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561B8E #538E1B
analogous
#1D1B8E #561B8E #8E1B8C
triadic
#561B8E #8E561B #1B8E56
tetradic
#561B8E #8E1D1B #538E1B #1B8C8E
square
#561B8E #8E1D1B #538E1B #1B8C8E
split-complementary
#561B8E #8C8E1B #1B8E1D
monochromatic
#180727 #37115B #561B8E #7525C1 #9447DC

Accessibility & contrast

On white

10.81
#561B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#561B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561B8E
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561B8E#FFFFFF#000000##FFFFFF
##561B8E1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#4A3A55
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #561b8e;
/* rgb */ color: rgb(86, 27, 142);
/* oklch */ color: oklch(38.3% 0.174 301.6);
Tailwind
colors: {
  custom: {
    50: '#8c5fb0',
    500: '#561b8e',
    950: '#000000',
  },
}
SCSS
$custom: #561b8e;
$custom-light: #8c5fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#561b8e",
  "rgb": {
    "r": 86,
    "g": 27,
    "b": 142
  },
  "hsl": {
    "h": 270.783,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38327,
    "c": 0.17391,
    "h": 301.6
  },
  "luminance": 0.04715
}

Semantic roles & 50–950 ramp

primary
#561B8E
secondary
#81BE47
accent
#EB3D92
background
#F9F5FA
surface
#F1EAF5
border
#CBC6CF
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #561B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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