#561877#561877

#561877 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.154 H 310.5°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#561877
RGBrgb(86, 24, 119)
HSLhsl(279, 66%, 28%)
HSVhsv(279, 80%, 47%)
CMYKcmyk(27.7%, 79.8%, 0%, 53.3%)
CIE-LABlab(23.55, 43.92, -41.21)
CIE-LCHlch(23.55, 60.22, 316.82°)
OKLaboklab(36.07% 0.0997 -0.1168)
OKLCHoklch(36.07% 0.154 310.5)
XYZxyz(7.4935, 3.9638, 17.8195)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561877 #397718
analogous
#261877 #561877 #771868
triadic
#561877 #775618 #187756
tetradic
#561877 #772618 #397718 #186877
square
#561877 #772618 #397718 #186877
split-complementary
#561877 #687718 #187726
monochromatic
#120519 #310E44 #561877 #7B22AA #9E33D6

Accessibility & contrast

On white

11.71
#561877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #561877
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561877#FFFFFF#000000##FFFFFF
##5618771.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #561877;
/* rgb */ color: rgb(86, 24, 119);
/* oklch */ color: oklch(36.1% 0.154 310.5);
Tailwind
colors: {
  custom: {
    50: '#8a5d9f',
    500: '#561877',
    950: '#000000',
  },
}
SCSS
$custom: #561877;
$custom-light: #8a5d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#561877",
  "rgb": {
    "r": 86,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 279.158,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36072,
    "c": 0.15359,
    "h": 310.5
  },
  "luminance": 0.03964
}

Semantic roles & 50–950 ramp

primary
#561877
secondary
#65AC3F
accent
#E93E7A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #561877

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

Preview Lab → · Contrast checker → · Palette generator →

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