#56174F#56174F

#56174F is a dark, moderate purple. Relative luminance 0.032; OKLCH L 33.1% C 0.117 H 332.7°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#56174F
RGBrgb(86, 23, 79)
HSLhsl(307, 58%, 21%)
HSVhsv(307, 73%, 34%)
CMYKcmyk(0%, 73.3%, 8.1%, 66.3%)
CIE-LABlab(20.66, 36.03, -19.55)
CIE-LCHlch(20.66, 40.99, 331.52°)
OKLaboklab(33.13% 0.1036 -0.0536)
OKLCHoklch(33.13% 0.117 332.7)
XYZxyz(5.5554, 3.1562, 7.7122)
Luminance0.0316 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56174F #17561E
analogous
#3E1756 #56174F #561730
triadic
#56174F #4F5617 #174F56
tetradic
#56174F #563E17 #17561E #173056
square
#56174F #563E17 #17561E #173056
split-complementary
#56174F #305617 #17563E
monochromatic
#180616 #260A23 #56174F #86247B #B731A8

Accessibility & contrast

On white

12.87
#56174F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56174F
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56174F#FFFFFF#000000##FFFFFF
##56174F1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142C51
Deuteranopia (green-blind)
#2B354D
Tritanopia (blue-blind)
#5A1D30
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #56174f;
/* rgb */ color: rgb(86, 23, 79);
/* oklch */ color: oklch(33.1% 0.117 332.7);
Tailwind
colors: {
  custom: {
    50: '#885a80',
    500: '#56174f',
    950: '#000000',
  },
}
SCSS
$custom: #56174f;
$custom-light: #885a80;
$custom-dark: #000000;
JSON
{
  "hex": "#56174f",
  "rgb": {
    "r": 86,
    "g": 23,
    "b": 79
  },
  "hsl": {
    "h": 306.667,
    "s": 57.798,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33132,
    "c": 0.11666,
    "h": 332.7
  },
  "luminance": 0.03156
}

Semantic roles & 50–950 ramp

primary
#56174F
secondary
#3C8D45
accent
#E15847
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #56174F

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

Preview Lab → · Contrast checker → · Palette generator →

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