#561C79#561C79

#561C79 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.151 H 309.2°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#561C79
RGBrgb(86, 28, 121)
HSLhsl(277, 62%, 29%)
HSVhsv(277, 77%, 47%)
CMYKcmyk(28.9%, 76.9%, 0%, 52.5%)
CIE-LABlab(24.29, 42.72, -41.29)
CIE-LCHlch(24.29, 59.41, 315.98°)
OKLaboklab(36.64% 0.0954 -0.1171)
OKLCHoklch(36.64% 0.151 309.2)
XYZxyz(7.7035, 4.1896, 18.4883)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561C79 #3F791C
analogous
#271C79 #561C79 #791C6E
triadic
#561C79 #79561C #1C7956
tetradic
#561C79 #79271C #3F791C #1C6E79
square
#561C79 #79271C #3F791C #1C6E79
split-complementary
#561C79 #6E791C #1C7927
monochromatic
#120619 #331047 #561C79 #7928AB #9A3DD2

Accessibility & contrast

On white

11.43
#561C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#561C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561C79
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561C79#FFFFFF#000000##FFFFFF
##561C791.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#023A77
Tritanopia (blue-blind)
#513249
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #561c79;
/* rgb */ color: rgb(86, 28, 121);
/* oklch */ color: oklch(36.6% 0.151 309.2);
Tailwind
colors: {
  custom: {
    50: '#8a5fa0',
    500: '#561c79',
    950: '#000000',
  },
}
SCSS
$custom: #561c79;
$custom-light: #8a5fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#561c79",
  "rgb": {
    "r": 86,
    "g": 28,
    "b": 121
  },
  "hsl": {
    "h": 277.419,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36642,
    "c": 0.15103,
    "h": 309.2
  },
  "luminance": 0.04189
}

Semantic roles & 50–950 ramp

primary
#561C79
secondary
#6BAD44
accent
#E54280
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #561C79

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

Preview Lab → · Contrast checker → · Palette generator →

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