#561579#561579

#561579 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.159 H 310.0°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#561579
RGBrgb(86, 21, 121)
HSLhsl(279, 70%, 28%)
HSVhsv(279, 83%, 47%)
CMYKcmyk(28.9%, 82.6%, 0%, 52.5%)
CIE-LABlab(23.32, 45.50, -42.85)
CIE-LCHlch(23.32, 62.50, 316.72°)
OKLaboklab(35.96% 0.1019 -0.1216)
OKLCHoklch(35.96% 0.159 310)
XYZxyz(7.5564, 3.8954, 18.4393)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561579 #387915
analogous
#241579 #561579 #79156A
triadic
#561579 #795615 #157956
tetradic
#561579 #792415 #387915 #156A79
square
#561579 #792415 #387915 #156A79
split-complementary
#561579 #6A7915 #157924
monochromatic
#13051A #310C45 #561579 #7B1EAD #9E2EDB

Accessibility & contrast

On white

11.80
#561579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#561579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561579
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561579#FFFFFF#000000##FFFFFF
##5615791.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#003877
Tritanopia (blue-blind)
#512F47
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #561579;
/* rgb */ color: rgb(86, 21, 121);
/* oklch */ color: oklch(36.0% 0.159 310.0);
Tailwind
colors: {
  custom: {
    50: '#8a5ba0',
    500: '#561579',
    950: '#000000',
  },
}
SCSS
$custom: #561579;
$custom-light: #8a5ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#561579",
  "rgb": {
    "r": 86,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 279,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35962,
    "c": 0.1587,
    "h": 310
  },
  "luminance": 0.03895
}

Semantic roles & 50–950 ramp

primary
#561579
secondary
#64AF3B
accent
#ED3B79
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #561579

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

Preview Lab → · Contrast checker → · Palette generator →

#561579 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva