#56164E#56164E

#56164E is a dark, moderate purple. Relative luminance 0.031; OKLCH L 33.0% C 0.117 H 333.4°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#56164E
RGBrgb(86, 22, 78)
HSLhsl(308, 59%, 21%)
HSVhsv(308, 74%, 34%)
CMYKcmyk(0%, 74.4%, 9.3%, 66.3%)
CIE-LABlab(20.45, 36.28, -19.19)
CIE-LCHlch(20.45, 41.04, 332.12°)
OKLaboklab(32.96% 0.1048 -0.0526)
OKLCHoklch(32.96% 0.117 333.4)
XYZxyz(5.4998, 3.1028, 7.5155)
Luminance0.0310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56164E #16561E
analogous
#3E1656 #56164E #56162E
triadic
#56164E #4E5616 #164E56
tetradic
#56164E #563E16 #16561E #162E56
square
#56164E #563E16 #16561E #162E56
split-complementary
#56164E #2E5616 #16563E
monochromatic
#180616 #250A22 #56164E #87227A #B72FA6

Accessibility & contrast

On white

12.96
#56164E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#56164E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56164E
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56164E#FFFFFF#000000##FFFFFF
##56164E1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142B50
Deuteranopia (green-blind)
#2B354C
Tritanopia (blue-blind)
#5A1C30
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #56164e;
/* rgb */ color: rgb(86, 22, 78);
/* oklch */ color: oklch(33.0% 0.117 333.4);
Tailwind
colors: {
  custom: {
    50: '#885a80',
    500: '#56164e',
    950: '#000000',
  },
}
SCSS
$custom: #56164e;
$custom-light: #885a80;
$custom-dark: #000000;
JSON
{
  "hex": "#56164e",
  "rgb": {
    "r": 86,
    "g": 22,
    "b": 78
  },
  "hsl": {
    "h": 307.5,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32963,
    "c": 0.11722,
    "h": 333.4
  },
  "luminance": 0.03102
}

Semantic roles & 50–950 ramp

primary
#56164E
secondary
#3A8D45
accent
#E25945
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #56164E

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

Preview Lab → · Contrast checker → · Palette generator →

#56164E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva