#56174C#56174C

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

Color values

HEX#56174C
RGBrgb(86, 23, 76)
HSLhsl(310, 58%, 21%)
HSVhsv(310, 73%, 34%)
CMYKcmyk(0%, 73.3%, 11.6%, 66.3%)
CIE-LABlab(20.49, 35.49, -17.77)
CIE-LCHlch(20.49, 39.69, 333.41°)
OKLaboklab(32.96% 0.1033 -0.0485)
OKLCHoklch(32.96% 0.114 334.9)
XYZxyz(5.4487, 3.1135, 7.1501)
Luminance0.0311 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56174C #175621
analogous
#411756 #56174C #56172D
triadic
#56174C #4C5617 #174C56
tetradic
#56174C #564117 #175621 #172D56
square
#56174C #564117 #175621 #172D56
split-complementary
#56174C #2D5617 #175641
monochromatic
#180615 #260A21 #56174C #862477 #B731A1

Accessibility & contrast

On white

12.94
#56174C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#56174C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56174C
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56174C#FFFFFF#000000##FFFFFF
##56174C1.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)
#172B4E
Deuteranopia (green-blind)
#2C354A
Tritanopia (blue-blind)
#5A1C2F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #56174c;
/* rgb */ color: rgb(86, 23, 76);
/* oklch */ color: oklch(33.0% 0.114 334.9);
Tailwind
colors: {
  custom: {
    50: '#885a7e',
    500: '#56174c',
    950: '#000000',
  },
}
SCSS
$custom: #56174c;
$custom-light: #885a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#56174c",
  "rgb": {
    "r": 86,
    "g": 23,
    "b": 76
  },
  "hsl": {
    "h": 309.524,
    "s": 57.798,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32957,
    "c": 0.11411,
    "h": 334.9
  },
  "luminance": 0.03113
}

Semantic roles & 50–950 ramp

primary
#56174C
secondary
#3C8D49
accent
#E15F47
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #56174C

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

Preview Lab → · Contrast checker → · Palette generator →

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