#56106A#56106A

#56106A is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.3% C 0.149 H 317.1°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#56106A
RGBrgb(86, 16, 106)
HSLhsl(287, 74%, 24%)
HSVhsv(287, 85%, 42%)
CMYKcmyk(18.9%, 84.9%, 0%, 58.4%)
CIE-LABlab(21.54, 43.94, -36.07)
CIE-LCHlch(21.54, 56.85, 320.62°)
OKLaboklab(34.34% 0.1094 -0.1017)
OKLCHoklch(34.34% 0.149 317.1)
XYZxyz(6.6242, 3.3899, 13.9383)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56106A #246A10
analogous
#29106A #56106A #6A1051
triadic
#56106A #6A5610 #106A56
tetradic
#56106A #6A2910 #246A10 #10516A
square
#56106A #6A2910 #246A10 #10516A
split-complementary
#56106A #516A10 #106A29
monochromatic
#16041B #2B0835 #56106A #81189F #AC20D4

Accessibility & contrast

On white

12.51
#56106A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#56106A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56106A
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56106A#FFFFFF#000000##FFFFFF
##56106A1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306C
Deuteranopia (green-blind)
#113668
Tritanopia (blue-blind)
#55253E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #56106a;
/* rgb */ color: rgb(86, 16, 106);
/* oklch */ color: oklch(34.3% 0.149 317.1);
Tailwind
colors: {
  custom: {
    50: '#895995',
    500: '#56106a',
    950: '#000000',
  },
}
SCSS
$custom: #56106a;
$custom-light: #895995;
$custom-dark: #000000;
JSON
{
  "hex": "#56106a",
  "rgb": {
    "r": 86,
    "g": 16,
    "b": 106
  },
  "hsl": {
    "h": 286.667,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34338,
    "c": 0.14938,
    "h": 317.1
  },
  "luminance": 0.0339
}

Semantic roles & 50–950 ramp

primary
#56106A
secondary
#4CA234
accent
#F03760
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #56106A

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

Preview Lab → · Contrast checker → · Palette generator →

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