#561A79#561A79

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

Color values

HEX#561A79
RGBrgb(86, 26, 121)
HSLhsl(278, 65%, 29%)
HSVhsv(278, 79%, 47%)
CMYKcmyk(28.9%, 78.5%, 0%, 52.5%)
CIE-LABlab(23.99, 43.57, -41.77)
CIE-LCHlch(23.99, 60.36, 316.21°)
OKLaboklab(36.43% 0.0974 -0.1185)
OKLCHoklch(36.43% 0.153 309.4)
XYZxyz(7.6576, 4.0978, 18.4730)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561A79 #3D791A
analogous
#271A79 #561A79 #791A6D
triadic
#561A79 #79561A #1A7956
tetradic
#561A79 #79271A #3D791A #1A6D79
square
#561A79 #79271A #3D791A #1A6D79
split-complementary
#561A79 #6D791A #1A7927
monochromatic
#120519 #320F47 #561A79 #7A25AB #9B39D4

Accessibility & contrast

On white

11.54
#561A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#561A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561A79
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561A79#FFFFFF#000000##FFFFFF
##561A791.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#003A77
Tritanopia (blue-blind)
#513148
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #561a79;
/* rgb */ color: rgb(86, 26, 121);
/* oklch */ color: oklch(36.4% 0.153 309.4);
Tailwind
colors: {
  custom: {
    50: '#8a5ea0',
    500: '#561a79',
    950: '#000000',
  },
}
SCSS
$custom: #561a79;
$custom-light: #8a5ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#561a79",
  "rgb": {
    "r": 86,
    "g": 26,
    "b": 121
  },
  "hsl": {
    "h": 277.895,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36433,
    "c": 0.15338,
    "h": 309.4
  },
  "luminance": 0.04098
}

Semantic roles & 50–950 ramp

primary
#561A79
secondary
#69AD41
accent
#E8407E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #561A79

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

Preview Lab → · Contrast checker → · Palette generator →

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