#561578#561578

#561578 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.158 H 310.4°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#561578
RGBrgb(86, 21, 120)
HSLhsl(279, 70%, 28%)
HSVhsv(279, 83%, 47%)
CMYKcmyk(28.3%, 82.5%, 0%, 52.9%)
CIE-LABlab(23.24, 45.28, -42.35)
CIE-LCHlch(23.24, 62.00, 316.91°)
OKLaboklab(35.88% 0.1022 -0.1201)
OKLCHoklch(35.88% 0.158 310.4)
XYZxyz(7.4954, 3.8710, 18.1180)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561578 #377815
analogous
#241578 #561578 #781568
triadic
#561578 #785615 #157856
tetradic
#561578 #782415 #377815 #156878
square
#561578 #782415 #377815 #156878
split-complementary
#561578 #687815 #157824
monochromatic
#13051A #310C44 #561578 #7B1EAC #9F2DDA

Accessibility & contrast

On white

11.84
#561578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#561578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561578
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561578#FFFFFF#000000##FFFFFF
##5615781.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357B
Deuteranopia (green-blind)
#003876
Tritanopia (blue-blind)
#512E47
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #561578;
/* rgb */ color: rgb(86, 21, 120);
/* oklch */ color: oklch(35.9% 0.158 310.4);
Tailwind
colors: {
  custom: {
    50: '#8a5ba0',
    500: '#561578',
    950: '#000000',
  },
}
SCSS
$custom: #561578;
$custom-light: #8a5ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#561578",
  "rgb": {
    "r": 86,
    "g": 21,
    "b": 120
  },
  "hsl": {
    "h": 279.394,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35879,
    "c": 0.15772,
    "h": 310.4
  },
  "luminance": 0.03871
}

Semantic roles & 50–950 ramp

primary
#561578
secondary
#62AE3B
accent
#ED3B78
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #561578

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

Preview Lab → · Contrast checker → · Palette generator →

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