#561D88#561D88

#561D88 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.166 H 303.4°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#561D88
RGBrgb(86, 29, 136)
HSLhsl(272, 65%, 32%)
HSVhsv(272, 79%, 53%)
CMYKcmyk(36.8%, 78.7%, 0%, 46.7%)
CIE-LABlab(25.67, 45.91, -48.51)
CIE-LCHlch(25.67, 66.78, 313.42°)
OKLaboklab(38% 0.0911 -0.1383)
OKLCHoklch(38% 0.166 303.4)
XYZxyz(8.7200, 4.6347, 23.7230)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561D88 #4F881D
analogous
#211D88 #561D88 #881D84
triadic
#561D88 #88561D #1D8856
tetradic
#561D88 #88211D #4F881D #1D8488
square
#561D88 #88211D #4F881D #1D8488
split-complementary
#561D88 #84881D #1D8821
monochromatic
#160723 #361256 #561D88 #7628BA #9448D8

Accessibility & contrast

On white

10.90
#561D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#561D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561D88
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561D88#FFFFFF#000000##FFFFFF
##561D881.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8B
Deuteranopia (green-blind)
#003D86
Tritanopia (blue-blind)
#4C3952
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #561d88;
/* rgb */ color: rgb(86, 29, 136);
/* oklch */ color: oklch(38.0% 0.166 303.4);
Tailwind
colors: {
  custom: {
    50: '#8b60ac',
    500: '#561d88',
    950: '#000000',
  },
}
SCSS
$custom: #561d88;
$custom-light: #8b60ac;
$custom-dark: #000000;
JSON
{
  "hex": "#561d88",
  "rgb": {
    "r": 86,
    "g": 29,
    "b": 136
  },
  "hsl": {
    "h": 271.963,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37998,
    "c": 0.1656,
    "h": 303.4
  },
  "luminance": 0.04635
}

Semantic roles & 50–950 ramp

primary
#561D88
secondary
#7DBA47
accent
#E8408E
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #561D88

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

Preview Lab → · Contrast checker → · Palette generator →

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