#561A77#561A77

#561A77 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.151 H 310.3°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#561A77
RGBrgb(86, 26, 119)
HSLhsl(279, 64%, 28%)
HSVhsv(279, 78%, 47%)
CMYKcmyk(27.7%, 78.2%, 0%, 53.3%)
CIE-LABlab(23.83, 43.11, -40.75)
CIE-LCHlch(23.83, 59.32, 316.61°)
OKLaboklab(36.27% 0.0978 -0.1155)
OKLCHoklch(36.27% 0.151 310.3)
XYZxyz(7.5363, 4.0493, 17.8338)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561A77 #3B771A
analogous
#271A77 #561A77 #771A69
triadic
#561A77 #77561A #1A7756
tetradic
#561A77 #77271A #3B771A #1A6977
square
#561A77 #77271A #3B771A #1A6977
split-complementary
#561A77 #69771A #1A7727
monochromatic
#120519 #320F45 #561A77 #7A25A9 #9C38D3

Accessibility & contrast

On white

11.60
#561A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561A77
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561A77#FFFFFF#000000##FFFFFF
##561A771.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367A
Deuteranopia (green-blind)
#033A75
Tritanopia (blue-blind)
#513047
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #561a77;
/* rgb */ color: rgb(86, 26, 119);
/* oklch */ color: oklch(36.3% 0.151 310.3);
Tailwind
colors: {
  custom: {
    50: '#8a5e9f',
    500: '#561a77',
    950: '#000000',
  },
}
SCSS
$custom: #561a77;
$custom-light: #8a5e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#561a77",
  "rgb": {
    "r": 86,
    "g": 26,
    "b": 119
  },
  "hsl": {
    "h": 278.71,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36271,
    "c": 0.15133,
    "h": 310.3
  },
  "luminance": 0.04049
}

Semantic roles & 50–950 ramp

primary
#561A77
secondary
#67AC41
accent
#E7417C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #561A77

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

Preview Lab → · Contrast checker → · Palette generator →

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