#561D78#561D78

#561D78 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.149 H 309.5°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#561D78
RGBrgb(86, 29, 120)
HSLhsl(278, 61%, 29%)
HSVhsv(278, 76%, 47%)
CMYKcmyk(28.3%, 75.8%, 0%, 52.9%)
CIE-LABlab(24.36, 42.05, -40.53)
CIE-LCHlch(24.36, 58.40, 316.06°)
OKLaboklab(36.67% 0.0946 -0.1148)
OKLCHoklch(36.67% 0.149 309.5)
XYZxyz(7.6666, 4.2134, 18.1750)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561D78 #3F781D
analogous
#281D78 #561D78 #781D6D
triadic
#561D78 #78561D #1D7856
tetradic
#561D78 #78281D #3F781D #1D6D78
square
#561D78 #78281D #3F781D #1D6D78
split-complementary
#561D78 #6D781D #1D7828
monochromatic
#120619 #331147 #561D78 #7929A9 #9A3FD1

Accessibility & contrast

On white

11.40
#561D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561D78
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561D78#FFFFFF#000000##FFFFFF
##561D781.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387B
Deuteranopia (green-blind)
#063B76
Tritanopia (blue-blind)
#513249
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #561d78;
/* rgb */ color: rgb(86, 29, 120);
/* oklch */ color: oklch(36.7% 0.149 309.5);
Tailwind
colors: {
  custom: {
    50: '#895fa0',
    500: '#561d78',
    950: '#000000',
  },
}
SCSS
$custom: #561d78;
$custom-light: #895fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#561d78",
  "rgb": {
    "r": 86,
    "g": 29,
    "b": 120
  },
  "hsl": {
    "h": 277.582,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36671,
    "c": 0.14876,
    "h": 309.5
  },
  "luminance": 0.04213
}

Semantic roles & 50–950 ramp

primary
#561D78
secondary
#6BAC45
accent
#E44480
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #561D78

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

Preview Lab → · Contrast checker → · Palette generator →

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