#56176A#56176A

#56176A is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.0% C 0.142 H 316.5°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#56176A
RGBrgb(86, 23, 106)
HSLhsl(286, 64%, 25%)
HSVhsv(286, 78%, 42%)
CMYKcmyk(18.9%, 78.3%, 0%, 58.4%)
CIE-LABlab(22.42, 41.42, -34.66)
CIE-LCHlch(22.42, 54.01, 320.08°)
OKLaboklab(34.96% 0.103 -0.0976)
OKLCHoklch(34.96% 0.142 316.5)
XYZxyz(6.7453, 3.6321, 13.9786)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56176A #2B6A17
analogous
#2C176A #56176A #6A1754
triadic
#56176A #6A5617 #176A56
tetradic
#56176A #6A2C17 #2B6A17 #17546A
square
#56176A #6A2C17 #2B6A17 #17546A
split-complementary
#56176A #546A17 #176A2C
monochromatic
#140519 #2D0C38 #56176A #7F229C #A82DCF

Accessibility & contrast

On white

12.16
#56176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#56176A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56176A
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56176A#FFFFFF#000000##FFFFFF
##56176A1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326C
Deuteranopia (green-blind)
#173768
Tritanopia (blue-blind)
#55293F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #56176a;
/* rgb */ color: rgb(86, 23, 106);
/* oklch */ color: oklch(35.0% 0.142 316.5);
Tailwind
colors: {
  custom: {
    50: '#895b95',
    500: '#56176a',
    950: '#000000',
  },
}
SCSS
$custom: #56176a;
$custom-light: #895b95;
$custom-dark: #000000;
JSON
{
  "hex": "#56176a",
  "rgb": {
    "r": 86,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 285.542,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34955,
    "c": 0.14188,
    "h": 316.5
  },
  "luminance": 0.03632
}

Semantic roles & 50–950 ramp

primary
#56176A
secondary
#55A03D
accent
#E74069
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #56176A

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

Preview Lab → · Contrast checker → · Palette generator →

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