#561868#561868

#561868 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.9% C 0.139 H 317.5°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#561868
RGBrgb(86, 24, 104)
HSLhsl(287, 63%, 25%)
HSVhsv(287, 77%, 41%)
CMYKcmyk(17.3%, 76.9%, 0%, 59.2%)
CIE-LABlab(22.41, 40.58, -33.36)
CIE-LCHlch(22.41, 52.54, 320.58°)
OKLaboklab(34.91% 0.1022 -0.0938)
OKLCHoklch(34.91% 0.139 317.5)
XYZxyz(6.6627, 3.6315, 13.4440)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561868 #2A6818
analogous
#2E1868 #561868 #681852
triadic
#561868 #685618 #186856
tetradic
#561868 #682E18 #2A6818 #185268
square
#561868 #682E18 #2A6818 #185268
split-complementary
#561868 #526818 #18682E
monochromatic
#150619 #2D0D36 #561868 #7F239A #A82FCB

Accessibility & contrast

On white

12.17
#561868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#561868 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561868
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561868#FFFFFF#000000##FFFFFF
##5618681.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326A
Deuteranopia (green-blind)
#1A3766
Tritanopia (blue-blind)
#55283E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #561868;
/* rgb */ color: rgb(86, 24, 104);
/* oklch */ color: oklch(34.9% 0.139 317.5);
Tailwind
colors: {
  custom: {
    50: '#895c94',
    500: '#561868',
    950: '#000000',
  },
}
SCSS
$custom: #561868;
$custom-light: #895c94;
$custom-dark: #000000;
JSON
{
  "hex": "#561868",
  "rgb": {
    "r": 86,
    "g": 24,
    "b": 104
  },
  "hsl": {
    "h": 286.5,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34907,
    "c": 0.13871,
    "h": 317.5
  },
  "luminance": 0.03631
}

Semantic roles & 50–950 ramp

primary
#561868
secondary
#539E3E
accent
#E64267
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #561868

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

Preview Lab → · Contrast checker → · Palette generator →

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