#561E78#561E78

#561E78 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.148 H 309.3°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#561E78
RGBrgb(86, 30, 120)
HSLhsl(277, 60%, 29%)
HSVhsv(277, 75%, 47%)
CMYKcmyk(28.3%, 75%, 0%, 52.9%)
CIE-LABlab(24.52, 41.60, -40.27)
CIE-LCHlch(24.52, 57.90, 315.93°)
OKLaboklab(36.78% 0.0935 -0.1141)
OKLCHoklch(36.78% 0.148 309.3)
XYZxyz(7.6915, 4.2632, 18.1834)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561E78 #40781E
analogous
#291E78 #561E78 #781E6D
triadic
#561E78 #78561E #1E7856
tetradic
#561E78 #78291E #40781E #1E6D78
square
#561E78 #78291E #40781E #1E6D78
split-complementary
#561E78 #6D781E #1E7829
monochromatic
#120618 #331247 #561E78 #792AA9 #9A41CF

Accessibility & contrast

On white

11.34
#561E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#561E78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561E78
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561E78#FFFFFF#000000##FFFFFF
##561E781.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #561e78;
/* rgb */ color: rgb(86, 30, 120);
/* oklch */ color: oklch(36.8% 0.148 309.3);
Tailwind
colors: {
  custom: {
    50: '#8960a0',
    500: '#561e78',
    950: '#000000',
  },
}
SCSS
$custom: #561e78;
$custom-light: #8960a0;
$custom-dark: #000000;
JSON
{
  "hex": "#561e78",
  "rgb": {
    "r": 86,
    "g": 30,
    "b": 120
  },
  "hsl": {
    "h": 277.333,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36784,
    "c": 0.14752,
    "h": 309.3
  },
  "luminance": 0.04263
}

Semantic roles & 50–950 ramp

primary
#561E78
secondary
#6CAC46
accent
#E34581
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #561E78

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

Preview Lab → · Contrast checker → · Palette generator →

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