#561678#561678

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

Color values

HEX#561678
RGBrgb(86, 22, 120)
HSLhsl(279, 69%, 28%)
HSVhsv(279, 82%, 47%)
CMYKcmyk(28.3%, 81.7%, 0%, 52.9%)
CIE-LABlab(23.37, 44.91, -42.14)
CIE-LCHlch(23.37, 61.59, 316.82°)
OKLaboklab(35.97% 0.1013 -0.1196)
OKLCHoklch(35.97% 0.157 310.3)
XYZxyz(7.5142, 3.9085, 18.1242)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561678 #387816
analogous
#251678 #561678 #781669
triadic
#561678 #785616 #167856
tetradic
#561678 #782516 #387816 #166978
square
#561678 #782516 #387816 #166978
split-complementary
#561678 #697816 #167825
monochromatic
#13051A #310D44 #561678 #7B1FAC #9E2FD9

Accessibility & contrast

On white

11.79
#561678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561678
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561678#FFFFFF#000000##FFFFFF
##5616781.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #561678;
/* rgb */ color: rgb(86, 22, 120);
/* oklch */ color: oklch(36.0% 0.157 310.3);
Tailwind
colors: {
  custom: {
    50: '#8a5ca0',
    500: '#561678',
    950: '#000000',
  },
}
SCSS
$custom: #561678;
$custom-light: #8a5ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#561678",
  "rgb": {
    "r": 86,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 279.184,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35968,
    "c": 0.15672,
    "h": 310.3
  },
  "luminance": 0.03908
}

Semantic roles & 50–950 ramp

primary
#561678
secondary
#64AD3C
accent
#EC3C79
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #561678

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

Preview Lab → · Contrast checker → · Palette generator →

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