#561768#561768

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

Color values

HEX#561768
RGBrgb(86, 23, 104)
HSLhsl(287, 64%, 25%)
HSVhsv(287, 78%, 41%)
CMYKcmyk(17.3%, 77.9%, 0%, 59.2%)
CIE-LABlab(22.27, 40.99, -33.59)
CIE-LCHlch(22.27, 53.00, 320.67°)
OKLaboklab(34.81% 0.1033 -0.0945)
OKLCHoklch(34.81% 0.14 317.5)
XYZxyz(6.6425, 3.5910, 13.4373)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561768 #296817
analogous
#2E1768 #561768 #681751
triadic
#561768 #685617 #176856
tetradic
#561768 #682E17 #296817 #175168
square
#561768 #682E17 #296817 #175168
split-complementary
#561768 #516817 #17682E
monochromatic
#150619 #2D0C36 #561768 #7F229A #A92DCC

Accessibility & contrast

On white

12.22
#561768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#561768 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561768
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561768#FFFFFF#000000##FFFFFF
##5617681.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316A
Deuteranopia (green-blind)
#193766
Tritanopia (blue-blind)
#55283E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #561768;
/* rgb */ color: rgb(86, 23, 104);
/* oklch */ color: oklch(34.8% 0.140 317.5);
Tailwind
colors: {
  custom: {
    50: '#895b94',
    500: '#561768',
    950: '#000000',
  },
}
SCSS
$custom: #561768;
$custom-light: #895b94;
$custom-dark: #000000;
JSON
{
  "hex": "#561768",
  "rgb": {
    "r": 86,
    "g": 23,
    "b": 104
  },
  "hsl": {
    "h": 286.667,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34805,
    "c": 0.13993,
    "h": 317.5
  },
  "luminance": 0.03591
}

Semantic roles & 50–950 ramp

primary
#561768
secondary
#529E3D
accent
#E74166
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #561768

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

Preview Lab → · Contrast checker → · Palette generator →

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