#561C78#561C78

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

Color values

HEX#561C78
RGBrgb(86, 28, 120)
HSLhsl(278, 62%, 29%)
HSVhsv(278, 77%, 47%)
CMYKcmyk(28.3%, 76.7%, 0%, 52.9%)
CIE-LABlab(24.21, 42.49, -40.78)
CIE-LCHlch(24.21, 58.89, 316.18°)
OKLaboklab(36.56% 0.0956 -0.1156)
OKLCHoklch(36.56% 0.15 309.6)
XYZxyz(7.6425, 4.1652, 18.1670)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561C78 #3E781C
analogous
#281C78 #561C78 #781C6C
triadic
#561C78 #78561C #1C7856
tetradic
#561C78 #78281C #3E781C #1C6C78
square
#561C78 #78281C #3E781C #1C6C78
split-complementary
#561C78 #6C781C #1C7828
monochromatic
#120619 #321046 #561C78 #7A28AA #9B3DD2

Accessibility & contrast

On white

11.46
#561C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#561C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561C78
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561C78#FFFFFF#000000##FFFFFF
##561C781.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377B
Deuteranopia (green-blind)
#043A76
Tritanopia (blue-blind)
#513148
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #561c78;
/* rgb */ color: rgb(86, 28, 120);
/* oklch */ color: oklch(36.6% 0.150 309.6);
Tailwind
colors: {
  custom: {
    50: '#895fa0',
    500: '#561c78',
    950: '#000000',
  },
}
SCSS
$custom: #561c78;
$custom-light: #895fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#561c78",
  "rgb": {
    "r": 86,
    "g": 28,
    "b": 120
  },
  "hsl": {
    "h": 277.826,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36562,
    "c": 0.14999,
    "h": 309.6
  },
  "luminance": 0.04165
}

Semantic roles & 50–950 ramp

primary
#561C78
secondary
#6AAC44
accent
#E5437F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #561C78

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

Preview Lab → · Contrast checker → · Palette generator →

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