#561B79#561B79

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

Color values

HEX#561B79
RGBrgb(86, 27, 121)
HSLhsl(278, 64%, 29%)
HSVhsv(278, 78%, 47%)
CMYKcmyk(28.9%, 77.7%, 0%, 52.5%)
CIE-LABlab(24.14, 43.15, -41.53)
CIE-LCHlch(24.14, 59.89, 316.10°)
OKLaboklab(36.54% 0.0964 -0.1178)
OKLCHoklch(36.54% 0.152 309.3)
XYZxyz(7.6802, 4.1429, 18.4805)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561B79 #3E791B
analogous
#271B79 #561B79 #791B6D
triadic
#561B79 #79561B #1B7956
tetradic
#561B79 #79271B #3E791B #1B6D79
square
#561B79 #79271B #3E791B #1B6D79
split-complementary
#561B79 #6D791B #1B7927
monochromatic
#120619 #321047 #561B79 #7A26AB #9B3BD3

Accessibility & contrast

On white

11.48
#561B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#561B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561B79
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561B79#FFFFFF#000000##FFFFFF
##561B791.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #561b79;
/* rgb */ color: rgb(86, 27, 121);
/* oklch */ color: oklch(36.5% 0.152 309.3);
Tailwind
colors: {
  custom: {
    50: '#8a5ea0',
    500: '#561b79',
    950: '#000000',
  },
}
SCSS
$custom: #561b79;
$custom-light: #8a5ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#561b79",
  "rgb": {
    "r": 86,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 277.66,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36536,
    "c": 0.15222,
    "h": 309.3
  },
  "luminance": 0.04143
}

Semantic roles & 50–950 ramp

primary
#561B79
secondary
#6AAD43
accent
#E7417F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #561B79

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

Preview Lab → · Contrast checker → · Palette generator →

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