#561B88#561B88

#561B88 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.168 H 303.6°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#561B88
RGBrgb(86, 27, 136)
HSLhsl(272, 67%, 32%)
HSVhsv(272, 80%, 53%)
CMYKcmyk(36.8%, 80.1%, 0%, 46.7%)
CIE-LABlab(25.38, 46.73, -48.97)
CIE-LCHlch(25.38, 67.69, 313.66°)
OKLaboklab(37.8% 0.0929 -0.1397)
OKLCHoklch(37.8% 0.168 303.6)
XYZxyz(8.6726, 4.5399, 23.7072)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561B88 #4D881B
analogous
#201B88 #561B88 #881B84
triadic
#561B88 #88561B #1B8856
tetradic
#561B88 #88201B #4D881B #1B8488
square
#561B88 #88201B #4D881B #1B8488
split-complementary
#561B88 #84881B #1B8820
monochromatic
#150722 #361155 #561B88 #7625BB #9544DA

Accessibility & contrast

On white

11.01
#561B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#561B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561B88
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561B88#FFFFFF#000000##FFFFFF
##561B881.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8B
Deuteranopia (green-blind)
#003C86
Tritanopia (blue-blind)
#4C3851
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #561b88;
/* rgb */ color: rgb(86, 27, 136);
/* oklch */ color: oklch(37.8% 0.168 303.6);
Tailwind
colors: {
  custom: {
    50: '#8b5fac',
    500: '#561b88',
    950: '#000000',
  },
}
SCSS
$custom: #561b88;
$custom-light: #8b5fac;
$custom-dark: #000000;
JSON
{
  "hex": "#561b88",
  "rgb": {
    "r": 86,
    "g": 27,
    "b": 136
  },
  "hsl": {
    "h": 272.477,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37797,
    "c": 0.16771,
    "h": 303.6
  },
  "luminance": 0.0454
}

Semantic roles & 50–950 ramp

primary
#561B88
secondary
#7ABB44
accent
#EA3E8D
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #561B88

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

Preview Lab → · Contrast checker → · Palette generator →

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