#561C8F#561C8F

#561C8F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.174 H 301.2°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#561C8F
RGBrgb(86, 28, 143)
HSLhsl(270, 67%, 34%)
HSVhsv(270, 80%, 56%)
CMYKcmyk(39.9%, 80.4%, 0%, 43.9%)
CIE-LABlab(26.13, 48.04, -52.10)
CIE-LCHlch(26.13, 70.87, 312.68°)
OKLaboklab(38.51% 0.09 -0.1489)
OKLCHoklch(38.51% 0.174 301.2)
XYZxyz(9.2097, 4.7920, 26.4210)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561C8F #558F1C
analogous
#1D1C8F #561C8F #8F1C8E
triadic
#561C8F #8F561C #1C8F56
tetradic
#561C8F #8F1D1C #558F1C #1C8E8F
square
#561C8F #8F1D1C #558F1C #1C8E8F
split-complementary
#561C8F #8E8F1C #1C8F1D
monochromatic
#180829 #37125C #561C8F #7526C2 #934ADC

Accessibility & contrast

On white

10.72
#561C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#561C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561C8F
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561C8F#FFFFFF#000000##FFFFFF
##561C8F1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#493B55
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #561c8f;
/* rgb */ color: rgb(86, 28, 143);
/* oklch */ color: oklch(38.5% 0.174 301.2);
Tailwind
colors: {
  custom: {
    50: '#8c60b1',
    500: '#561c8f',
    950: '#000000',
  },
}
SCSS
$custom: #561c8f;
$custom-light: #8c60b1;
$custom-dark: #000000;
JSON
{
  "hex": "#561c8f",
  "rgb": {
    "r": 86,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 270.261,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38513,
    "c": 0.17397,
    "h": 301.2
  },
  "luminance": 0.04792
}

Semantic roles & 50–950 ramp

primary
#561C8F
secondary
#83BE49
accent
#EA3E93
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #561C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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