#561A78#561A78

#561A78 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.152 H 309.8°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#561A78
RGBrgb(86, 26, 120)
HSLhsl(278, 64%, 29%)
HSVhsv(278, 78%, 47%)
CMYKcmyk(28.3%, 78.3%, 0%, 52.9%)
CIE-LABlab(23.91, 43.34, -41.26)
CIE-LCHlch(23.91, 59.84, 316.41°)
OKLaboklab(36.35% 0.0976 -0.117)
OKLCHoklch(36.35% 0.152 309.8)
XYZxyz(7.5966, 4.0734, 18.1517)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561A78 #3C781A
analogous
#271A78 #561A78 #781A6B
triadic
#561A78 #78561A #1A7856
tetradic
#561A78 #78271A #3C781A #1A6B78
square
#561A78 #78271A #3C781A #1A6B78
split-complementary
#561A78 #6B781A #1A7827
monochromatic
#120519 #320F46 #561A78 #7A25AA #9C38D4

Accessibility & contrast

On white

11.57
#561A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#561A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561A78
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561A78#FFFFFF#000000##FFFFFF
##561A781.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367B
Deuteranopia (green-blind)
#013A76
Tritanopia (blue-blind)
#513048
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #561a78;
/* rgb */ color: rgb(86, 26, 120);
/* oklch */ color: oklch(36.4% 0.152 309.8);
Tailwind
colors: {
  custom: {
    50: '#8a5ea0',
    500: '#561a78',
    950: '#000000',
  },
}
SCSS
$custom: #561a78;
$custom-light: #8a5ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#561a78",
  "rgb": {
    "r": 86,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 278.298,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36352,
    "c": 0.15235,
    "h": 309.8
  },
  "luminance": 0.04073
}

Semantic roles & 50–950 ramp

primary
#561A78
secondary
#68AC41
accent
#E7407D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #561A78

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

Preview Lab → · Contrast checker → · Palette generator →

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