#561C8E#561C8E

#561C8E is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.173 H 301.5°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#561C8E
RGBrgb(86, 28, 142)
HSLhsl(271, 67%, 33%)
HSVhsv(271, 80%, 56%)
CMYKcmyk(39.4%, 80.3%, 0%, 44.3%)
CIE-LABlab(26.05, 47.79, -51.63)
CIE-LCHlch(26.05, 70.35, 312.79°)
OKLaboklab(38.42% 0.0903 -0.1475)
OKLCHoklch(38.42% 0.173 301.5)
XYZxyz(9.1343, 4.7619, 26.0238)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561C8E #548E1C
analogous
#1D1C8E #561C8E #8E1C8D
triadic
#561C8E #8E561C #1C8E56
tetradic
#561C8E #8E1D1C #548E1C #1C8D8E
square
#561C8E #8E1D1C #548E1C #1C8D8E
split-complementary
#561C8E #8D8E1C #1C8E1D
monochromatic
#180828 #37125B #561C8E #7526C1 #9349DB

Accessibility & contrast

On white

10.76
#561C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561C8E
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561C8E#FFFFFF#000000##FFFFFF
##561C8E1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#4A3B55
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #561c8e;
/* rgb */ color: rgb(86, 28, 142);
/* oklch */ color: oklch(38.4% 0.173 301.5);
Tailwind
colors: {
  custom: {
    50: '#8c60b0',
    500: '#561c8e',
    950: '#000000',
  },
}
SCSS
$custom: #561c8e;
$custom-light: #8c60b0;
$custom-dark: #000000;
JSON
{
  "hex": "#561c8e",
  "rgb": {
    "r": 86,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 270.526,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38423,
    "c": 0.17292,
    "h": 301.5
  },
  "luminance": 0.04762
}

Semantic roles & 50–950 ramp

primary
#561C8E
secondary
#82BD49
accent
#EA3E92
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0D0511
muted
#7D7980

Preview Lab

Preview with #561C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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