#56174E#56174E

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

Color values

HEX#56174E
RGBrgb(86, 23, 78)
HSLhsl(308, 58%, 21%)
HSVhsv(308, 73%, 34%)
CMYKcmyk(0%, 73.3%, 9.3%, 66.3%)
CIE-LABlab(20.60, 35.85, -18.96)
CIE-LCHlch(20.60, 40.55, 332.13°)
OKLaboklab(33.07% 0.1035 -0.0519)
OKLCHoklch(33.07% 0.116 333.4)
XYZxyz(5.5193, 3.1417, 7.5220)
Luminance0.0314 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56174E #17561F
analogous
#3F1756 #56174E #56172F
triadic
#56174E #4E5617 #174E56
tetradic
#56174E #563F17 #17561F #172F56
square
#56174E #563F17 #17561F #172F56
split-complementary
#56174E #2F5617 #17563F
monochromatic
#180616 #260A22 #56174E #86247A #B731A6

Accessibility & contrast

On white

12.90
#56174E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56174E
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56174E#FFFFFF#000000##FFFFFF
##56174E1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152C50
Deuteranopia (green-blind)
#2B354C
Tritanopia (blue-blind)
#5A1C30
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #56174e;
/* rgb */ color: rgb(86, 23, 78);
/* oklch */ color: oklch(33.1% 0.116 333.4);
Tailwind
colors: {
  custom: {
    50: '#885a80',
    500: '#56174e',
    950: '#000000',
  },
}
SCSS
$custom: #56174e;
$custom-light: #885a80;
$custom-dark: #000000;
JSON
{
  "hex": "#56174e",
  "rgb": {
    "r": 86,
    "g": 23,
    "b": 78
  },
  "hsl": {
    "h": 307.619,
    "s": 57.798,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33073,
    "c": 0.11581,
    "h": 333.4
  },
  "luminance": 0.03141
}

Semantic roles & 50–950 ramp

primary
#56174E
secondary
#3C8D46
accent
#E15A47
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #56174E

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

Preview Lab → · Contrast checker → · Palette generator →

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