#561876#561876

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

Color values

HEX#561876
RGBrgb(86, 24, 118)
HSLhsl(280, 66%, 28%)
HSVhsv(280, 80%, 46%)
CMYKcmyk(27.1%, 79.7%, 0%, 53.7%)
CIE-LABlab(23.47, 43.69, -40.70)
CIE-LCHlch(23.47, 59.71, 317.03°)
OKLaboklab(35.99% 0.0999 -0.1153)
OKLCHoklch(35.99% 0.153 310.9)
XYZxyz(7.4338, 3.9399, 17.5049)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561876 #387618
analogous
#271876 #561876 #761867
triadic
#561876 #765618 #187656
tetradic
#561876 #762718 #387618 #186776
square
#561876 #762718 #387618 #186776
split-complementary
#561876 #677618 #187627
monochromatic
#130519 #310E43 #561876 #7B22A9 #9E33D5

Accessibility & contrast

On white

11.74
#561876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561876
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561876#FFFFFF#000000##FFFFFF
##5618761.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#023974
Tritanopia (blue-blind)
#522F46
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #561876;
/* rgb */ color: rgb(86, 24, 118);
/* oklch */ color: oklch(36.0% 0.153 310.9);
Tailwind
colors: {
  custom: {
    50: '#8a5d9e',
    500: '#561876',
    950: '#000000',
  },
}
SCSS
$custom: #561876;
$custom-light: #8a5d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#561876",
  "rgb": {
    "r": 86,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 279.574,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35991,
    "c": 0.15259,
    "h": 310.9
  },
  "luminance": 0.0394
}

Semantic roles & 50–950 ramp

primary
#561876
secondary
#64AB3F
accent
#E93F79
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #561876

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

Preview Lab → · Contrast checker → · Palette generator →

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