#561879#561879

#561879 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.156 H 309.7°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#561879
RGBrgb(86, 24, 121)
HSLhsl(278, 67%, 28%)
HSVhsv(278, 80%, 47%)
CMYKcmyk(28.9%, 80.2%, 0%, 52.5%)
CIE-LABlab(23.71, 44.38, -42.22)
CIE-LCHlch(23.71, 61.25, 316.43°)
OKLaboklab(36.24% 0.0993 -0.1198)
OKLCHoklch(36.24% 0.156 309.7)
XYZxyz(7.6149, 4.0123, 18.4588)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561879 #3B7918
analogous
#261879 #561879 #79186B
triadic
#561879 #795618 #187956
tetradic
#561879 #792618 #3B7918 #186B79
square
#561879 #792618 #3B7918 #186B79
split-complementary
#561879 #6B7918 #187926
monochromatic
#12051A #320E46 #561879 #7A22AC #9C35D7

Accessibility & contrast

On white

11.65
#561879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#561879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561879
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561879#FFFFFF#000000##FFFFFF
##5618791.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367C
Deuteranopia (green-blind)
#003977
Tritanopia (blue-blind)
#513048
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #561879;
/* rgb */ color: rgb(86, 24, 121);
/* oklch */ color: oklch(36.2% 0.156 309.7);
Tailwind
colors: {
  custom: {
    50: '#8a5da0',
    500: '#561879',
    950: '#000000',
  },
}
SCSS
$custom: #561879;
$custom-light: #8a5da0;
$custom-dark: #000000;
JSON
{
  "hex": "#561879",
  "rgb": {
    "r": 86,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 278.351,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36236,
    "c": 0.1556,
    "h": 309.7
  },
  "luminance": 0.04012
}

Semantic roles & 50–950 ramp

primary
#561879
secondary
#67AE3F
accent
#EA3E7C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #561879

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

Preview Lab → · Contrast checker → · Palette generator →

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