#561C88#561C88

#561C88 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.167 H 303.5°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#561C88
RGBrgb(86, 28, 136)
HSLhsl(272, 66%, 32%)
HSVhsv(272, 79%, 53%)
CMYKcmyk(36.8%, 79.4%, 0%, 46.7%)
CIE-LABlab(25.52, 46.32, -48.74)
CIE-LCHlch(25.52, 67.24, 313.54°)
OKLaboklab(37.9% 0.092 -0.139)
OKLCHoklch(37.9% 0.167 303.5)
XYZxyz(8.6959, 4.5865, 23.7149)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561C88 #4E881C
analogous
#201C88 #561C88 #881C84
triadic
#561C88 #88561C #1C8856
tetradic
#561C88 #88201C #4E881C #1C8488
square
#561C88 #88201C #4E881C #1C8488
split-complementary
#561C88 #84881C #1C8820
monochromatic
#160722 #361255 #561C88 #7626BB #9546D9

Accessibility & contrast

On white

10.95
#561C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#561C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561C88
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561C88#FFFFFF#000000##FFFFFF
##561C881.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.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: #561c88;
/* rgb */ color: rgb(86, 28, 136);
/* oklch */ color: oklch(37.9% 0.167 303.5);
Tailwind
colors: {
  custom: {
    50: '#8b5fac',
    500: '#561c88',
    950: '#000000',
  },
}
SCSS
$custom: #561c88;
$custom-light: #8b5fac;
$custom-dark: #000000;
JSON
{
  "hex": "#561c88",
  "rgb": {
    "r": 86,
    "g": 28,
    "b": 136
  },
  "hsl": {
    "h": 272.222,
    "s": 65.854,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37896,
    "c": 0.16667,
    "h": 303.5
  },
  "luminance": 0.04587
}

Semantic roles & 50–950 ramp

primary
#561C88
secondary
#7CBA45
accent
#E93F8E
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #561C88

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

Preview Lab → · Contrast checker → · Palette generator →

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