#56176D#56176D

#56176D is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.2% C 0.145 H 315.1°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#56176D
RGBrgb(86, 23, 109)
HSLhsl(284, 65%, 26%)
HSVhsv(284, 79%, 43%)
CMYKcmyk(21.1%, 78.9%, 0%, 57.3%)
CIE-LABlab(22.64, 42.08, -36.25)
CIE-LCHlch(22.64, 55.54, 319.25°)
OKLaboklab(35.18% 0.1026 -0.1022)
OKLCHoklch(35.18% 0.145 315.1)
XYZxyz(6.9040, 3.6956, 14.8147)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56176D #2E6D17
analogous
#2B176D #56176D #6D1759
triadic
#56176D #6D5617 #176D56
tetradic
#56176D #6D2B17 #2E6D17 #17596D
square
#56176D #6D2B17 #2E6D17 #17596D
split-complementary
#56176D #596D17 #176D2B
monochromatic
#140519 #2E0C3A #56176D #7E22A0 #A62CD2

Accessibility & contrast

On white

12.08
#56176D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#56176D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56176D
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56176D#FFFFFF#000000##FFFFFF
##56176D1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336F
Deuteranopia (green-blind)
#13386B
Tritanopia (blue-blind)
#542A41
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #56176d;
/* rgb */ color: rgb(86, 23, 109);
/* oklch */ color: oklch(35.2% 0.145 315.1);
Tailwind
colors: {
  custom: {
    50: '#895c97',
    500: '#56176d',
    950: '#000000',
  },
}
SCSS
$custom: #56176d;
$custom-light: #895c97;
$custom-dark: #000000;
JSON
{
  "hex": "#56176d",
  "rgb": {
    "r": 86,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 283.953,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35183,
    "c": 0.14482,
    "h": 315.1
  },
  "luminance": 0.03695
}

Semantic roles & 50–950 ramp

primary
#56176D
secondary
#58A33D
accent
#E8406D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #56176D

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

Preview Lab → · Contrast checker → · Palette generator →

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