#56164F#56164F

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

Color values

HEX#56164F
RGBrgb(86, 22, 79)
HSLhsl(307, 59%, 21%)
HSVhsv(307, 74%, 34%)
CMYKcmyk(0%, 74.4%, 8.1%, 66.3%)
CIE-LABlab(20.51, 36.46, -19.78)
CIE-LCHlch(20.51, 41.48, 331.51°)
OKLaboklab(33.02% 0.1049 -0.0543)
OKLCHoklch(33.02% 0.118 332.6)
XYZxyz(5.5360, 3.1172, 7.7057)
Luminance0.0312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56164F #16561D
analogous
#3D1656 #56164F #56162F
triadic
#56164F #4F5616 #164F56
tetradic
#56164F #563D16 #16561D #162F56
square
#56164F #563D16 #16561D #162F56
split-complementary
#56164F #2F5616 #16563D
monochromatic
#180616 #250A22 #56164F #87227C #B72FA9

Accessibility & contrast

On white

12.94
#56164F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56164F
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56164F#FFFFFF#000000##FFFFFF
##56164F1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132C51
Deuteranopia (green-blind)
#2A354D
Tritanopia (blue-blind)
#5A1C30
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #56164f;
/* rgb */ color: rgb(86, 22, 79);
/* oklch */ color: oklch(33.0% 0.118 332.6);
Tailwind
colors: {
  custom: {
    50: '#885a80',
    500: '#56164f',
    950: '#000000',
  },
}
SCSS
$custom: #56164f;
$custom-light: #885a80;
$custom-dark: #000000;
JSON
{
  "hex": "#56164f",
  "rgb": {
    "r": 86,
    "g": 22,
    "b": 79
  },
  "hsl": {
    "h": 306.563,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33022,
    "c": 0.11808,
    "h": 332.6
  },
  "luminance": 0.03117
}

Semantic roles & 50–950 ramp

primary
#56164F
secondary
#3A8D44
accent
#E25745
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #56164F

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

Preview Lab → · Contrast checker → · Palette generator →

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