#561C8C#561C8C

#561C8C is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.171 H 302.1°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#561C8C
RGBrgb(86, 28, 140)
HSLhsl(271, 67%, 33%)
HSVhsv(271, 80%, 55%)
CMYKcmyk(38.6%, 80%, 0%, 45.1%)
CIE-LABlab(25.87, 47.30, -50.67)
CIE-LCHlch(25.87, 69.32, 313.03°)
OKLaboklab(38.25% 0.0909 -0.1447)
OKLCHoklch(38.25% 0.171 302.1)
XYZxyz(8.9855, 4.7024, 25.2401)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561C8C #528C1C
analogous
#1E1C8C #561C8C #8C1C8A
triadic
#561C8C #8C561C #1C8C56
tetradic
#561C8C #8C1E1C #528C1C #1C8A8C
square
#561C8C #8C1E1C #528C1C #1C8A8C
split-complementary
#561C8C #8A8C1C #1C8C1E
monochromatic
#170826 #371259 #561C8C #7526BF #9448DA

Accessibility & contrast

On white

10.82
#561C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561C8C
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561C8C#FFFFFF#000000##FFFFFF
##561C8C1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #561c8c;
/* rgb */ color: rgb(86, 28, 140);
/* oklch */ color: oklch(38.2% 0.171 302.1);
Tailwind
colors: {
  custom: {
    50: '#8b60ae',
    500: '#561c8c',
    950: '#000000',
  },
}
SCSS
$custom: #561c8c;
$custom-light: #8b60ae;
$custom-dark: #000000;
JSON
{
  "hex": "#561c8c",
  "rgb": {
    "r": 86,
    "g": 28,
    "b": 140
  },
  "hsl": {
    "h": 271.071,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38246,
    "c": 0.17084,
    "h": 302.1
  },
  "luminance": 0.04702
}

Semantic roles & 50–950 ramp

primary
#561C8C
secondary
#80BC48
accent
#EA3E91
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #561C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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