#561168#561168

#561168 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.3% C 0.147 H 318.0°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#561168
RGBrgb(86, 17, 104)
HSLhsl(288, 72%, 24%)
HSVhsv(288, 84%, 41%)
CMYKcmyk(17.3%, 83.7%, 0%, 59.2%)
CIE-LABlab(21.50, 43.20, -34.83)
CIE-LCHlch(21.50, 55.49, 321.13°)
OKLaboklab(34.26% 0.109 -0.098)
OKLCHoklch(34.26% 0.147 318)
XYZxyz(6.5365, 3.3791, 13.4019)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561168 #236811
analogous
#2A1168 #561168 #68114E
triadic
#561168 #685611 #116856
tetradic
#561168 #682A11 #236811 #114E68
square
#561168 #682A11 #236811 #114E68
split-complementary
#561168 #4E6811 #11682A
monochromatic
#16041A #2B0833 #561168 #811A9D #AD22D1

Accessibility & contrast

On white

12.53
#561168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#561168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561168
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561168#FFFFFF#000000##FFFFFF
##5611681.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6A
Deuteranopia (green-blind)
#153666
Tritanopia (blue-blind)
#55253D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #561168;
/* rgb */ color: rgb(86, 17, 104);
/* oklch */ color: oklch(34.3% 0.147 318.0);
Tailwind
colors: {
  custom: {
    50: '#895994',
    500: '#561168',
    950: '#000000',
  },
}
SCSS
$custom: #561168;
$custom-light: #895994;
$custom-dark: #000000;
JSON
{
  "hex": "#561168",
  "rgb": {
    "r": 86,
    "g": 17,
    "b": 104
  },
  "hsl": {
    "h": 287.586,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34262,
    "c": 0.14658,
    "h": 318
  },
  "luminance": 0.03379
}

Semantic roles & 50–950 ramp

primary
#561168
secondary
#4BA035
accent
#EF395F
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #561168

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

Preview Lab → · Contrast checker → · Palette generator →

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