#561679#561679

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

Color values

HEX#561679
RGBrgb(86, 22, 121)
HSLhsl(279, 69%, 28%)
HSVhsv(279, 82%, 47%)
CMYKcmyk(28.9%, 81.8%, 0%, 52.5%)
CIE-LABlab(23.45, 45.14, -42.65)
CIE-LCHlch(23.45, 62.10, 316.62°)
OKLaboklab(36.05% 0.1011 -0.121)
OKLCHoklch(36.05% 0.158 309.9)
XYZxyz(7.5752, 3.9329, 18.4455)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561679 #397916
analogous
#241679 #561679 #79166A
triadic
#561679 #795616 #167956
tetradic
#561679 #792416 #397916 #166A79
square
#561679 #792416 #397916 #166A79
split-complementary
#561679 #6A7916 #167924
monochromatic
#12051A #310D45 #561679 #7B1FAD #9E30D9

Accessibility & contrast

On white

11.75
#561679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#561679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561679
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561679#FFFFFF#000000##FFFFFF
##5616791.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #561679;
/* rgb */ color: rgb(86, 22, 121);
/* oklch */ color: oklch(36.1% 0.158 309.9);
Tailwind
colors: {
  custom: {
    50: '#8a5ca0',
    500: '#561679',
    950: '#000000',
  },
}
SCSS
$custom: #561679;
$custom-light: #8a5ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#561679",
  "rgb": {
    "r": 86,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 278.788,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36051,
    "c": 0.1577,
    "h": 309.9
  },
  "luminance": 0.03933
}

Semantic roles & 50–950 ramp

primary
#561679
secondary
#65AE3D
accent
#EC3C7A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #561679

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

Preview Lab → · Contrast checker → · Palette generator →

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