#56176C#56176C

#56176C is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.1% C 0.144 H 315.6°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#56176C
RGBrgb(86, 23, 108)
HSLhsl(284, 65%, 26%)
HSVhsv(284, 79%, 42%)
CMYKcmyk(20.4%, 78.7%, 0%, 57.6%)
CIE-LABlab(22.56, 41.86, -35.72)
CIE-LCHlch(22.56, 55.03, 319.52°)
OKLaboklab(35.11% 0.1027 -0.1007)
OKLCHoklch(35.11% 0.144 315.6)
XYZxyz(6.8505, 3.6742, 14.5328)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56176C #2D6C17
analogous
#2C176C #56176C #6C1757
triadic
#56176C #6C5617 #176C56
tetradic
#56176C #6C2C17 #2D6C17 #17576C
square
#56176C #6C2C17 #2D6C17 #17576C
split-complementary
#56176C #576C17 #176C2C
monochromatic
#140519 #2E0C3A #56176C #7E229E #A62CD1

Accessibility & contrast

On white

12.11
#56176C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56176C
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56176C#FFFFFF#000000##FFFFFF
##56176C1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326E
Deuteranopia (green-blind)
#15386A
Tritanopia (blue-blind)
#542A40
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #56176c;
/* rgb */ color: rgb(86, 23, 108);
/* oklch */ color: oklch(35.1% 0.144 315.6);
Tailwind
colors: {
  custom: {
    50: '#895c97',
    500: '#56176c',
    950: '#000000',
  },
}
SCSS
$custom: #56176c;
$custom-light: #895c97;
$custom-dark: #000000;
JSON
{
  "hex": "#56176c",
  "rgb": {
    "r": 86,
    "g": 23,
    "b": 108
  },
  "hsl": {
    "h": 284.471,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35107,
    "c": 0.14384,
    "h": 315.6
  },
  "luminance": 0.03674
}

Semantic roles & 50–950 ramp

primary
#56176C
secondary
#57A23D
accent
#E8406B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #56176C

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

Preview Lab → · Contrast checker → · Palette generator →

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