#56174D#56174D

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

Color values

HEX#56174D
RGBrgb(86, 23, 77)
HSLhsl(309, 58%, 21%)
HSVhsv(309, 73%, 34%)
CMYKcmyk(0%, 73.3%, 10.5%, 66.3%)
CIE-LABlab(20.55, 35.67, -18.36)
CIE-LCHlch(20.55, 40.12, 332.76°)
OKLaboklab(33.02% 0.1034 -0.0502)
OKLCHoklch(33.02% 0.115 334.1)
XYZxyz(5.4837, 3.1275, 7.3346)
Luminance0.0313 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56174D #175620
analogous
#401756 #56174D #56172E
triadic
#56174D #4D5617 #174D56
tetradic
#56174D #564017 #175620 #172E56
square
#56174D #564017 #175620 #172E56
split-complementary
#56174D #2E5617 #175640
monochromatic
#180616 #260A22 #56174D #862478 #B731A3

Accessibility & contrast

On white

12.92
#56174D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#56174D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56174D
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56174D#FFFFFF#000000##FFFFFF
##56174D1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162C4F
Deuteranopia (green-blind)
#2B354B
Tritanopia (blue-blind)
#5A1C2F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #56174d;
/* rgb */ color: rgb(86, 23, 77);
/* oklch */ color: oklch(33.0% 0.115 334.1);
Tailwind
colors: {
  custom: {
    50: '#885a7f',
    500: '#56174d',
    950: '#000000',
  },
}
SCSS
$custom: #56174d;
$custom-light: #885a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#56174d",
  "rgb": {
    "r": 86,
    "g": 23,
    "b": 77
  },
  "hsl": {
    "h": 308.571,
    "s": 57.798,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33015,
    "c": 0.11495,
    "h": 334.1
  },
  "luminance": 0.03127
}

Semantic roles & 50–950 ramp

primary
#56174D
secondary
#3C8D47
accent
#E15D47
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #56174D

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

Preview Lab → · Contrast checker → · Palette generator →

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