#56164D#56164D

#56164D is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.9% C 0.116 H 334.1°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#56164D
RGBrgb(86, 22, 77)
HSLhsl(308, 59%, 21%)
HSVhsv(308, 74%, 34%)
CMYKcmyk(0%, 74.4%, 10.5%, 66.3%)
CIE-LABlab(20.39, 36.10, -18.60)
CIE-LCHlch(20.39, 40.61, 332.74°)
OKLaboklab(32.9% 0.1047 -0.0509)
OKLCHoklch(32.9% 0.116 334.1)
XYZxyz(5.4643, 3.0885, 7.3281)
Luminance0.0309 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56164D #16561F
analogous
#3F1656 #56164D #56162D
triadic
#56164D #4D5616 #164D56
tetradic
#56164D #563F16 #16561F #162D56
square
#56164D #563F16 #16561F #162D56
split-complementary
#56164D #2D5616 #16563F
monochromatic
#180616 #250A21 #56164D #872279 #B72FA4

Accessibility & contrast

On white

12.98
#56164D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56164D
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56164D#FFFFFF#000000##FFFFFF
##56164D1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152B4F
Deuteranopia (green-blind)
#2B354B
Tritanopia (blue-blind)
#5A1B2F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #56164d;
/* rgb */ color: rgb(86, 22, 77);
/* oklch */ color: oklch(32.9% 0.116 334.1);
Tailwind
colors: {
  custom: {
    50: '#885a7f',
    500: '#56164d',
    950: '#000000',
  },
}
SCSS
$custom: #56164d;
$custom-light: #885a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#56164d",
  "rgb": {
    "r": 86,
    "g": 22,
    "b": 77
  },
  "hsl": {
    "h": 308.438,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32904,
    "c": 0.11637,
    "h": 334.1
  },
  "luminance": 0.03088
}

Semantic roles & 50–950 ramp

primary
#56164D
secondary
#3A8D46
accent
#E25B45
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #56164D

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

Preview Lab → · Contrast checker → · Palette generator →

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