#561C8D#561C8D

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

Color values

HEX#561C8D
RGBrgb(86, 28, 141)
HSLhsl(271, 67%, 33%)
HSVhsv(271, 80%, 55%)
CMYKcmyk(39%, 80.1%, 0%, 44.7%)
CIE-LABlab(25.96, 47.55, -51.15)
CIE-LCHlch(25.96, 69.84, 312.91°)
OKLaboklab(38.34% 0.0906 -0.1461)
OKLCHoklch(38.34% 0.172 301.8)
XYZxyz(9.0596, 4.7320, 25.6302)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561C8D #538D1C
analogous
#1D1C8D #561C8D #8D1C8B
triadic
#561C8D #8D561C #1C8D56
tetradic
#561C8D #8D1D1C #538D1C #1C8B8D
square
#561C8D #8D1D1C #538D1C #1C8B8D
split-complementary
#561C8D #8B8D1C #1C8D1D
monochromatic
#180827 #37125A #561C8D #7526C0 #9449DB

Accessibility & contrast

On white

10.79
#561C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#561C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561C8D
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561C8D#FFFFFF#000000##FFFFFF
##561C8D1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#4A3A54
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #561c8d;
/* rgb */ color: rgb(86, 28, 141);
/* oklch */ color: oklch(38.3% 0.172 301.8);
Tailwind
colors: {
  custom: {
    50: '#8b60af',
    500: '#561c8d',
    950: '#000000',
  },
}
SCSS
$custom: #561c8d;
$custom-light: #8b60af;
$custom-dark: #000000;
JSON
{
  "hex": "#561c8d",
  "rgb": {
    "r": 86,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 270.796,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38335,
    "c": 0.17188,
    "h": 301.8
  },
  "luminance": 0.04732
}

Semantic roles & 50–950 ramp

primary
#561C8D
secondary
#81BD48
accent
#EA3E92
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #561C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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