#56116A#56116A

#56116A is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.4% C 0.148 H 317.0°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#56116A
RGBrgb(86, 17, 106)
HSLhsl(287, 72%, 24%)
HSVhsv(287, 84%, 42%)
CMYKcmyk(18.9%, 84%, 0%, 58.4%)
CIE-LABlab(21.65, 43.62, -35.89)
CIE-LCHlch(21.65, 56.49, 320.55°)
OKLaboklab(34.42% 0.1086 -0.1011)
OKLCHoklch(34.42% 0.148 317)
XYZxyz(6.6393, 3.4202, 13.9433)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56116A #256A11
analogous
#2A116A #56116A #6A1152
triadic
#56116A #6A5611 #116A56
tetradic
#56116A #6A2A11 #256A11 #11526A
square
#56116A #6A2A11 #256A11 #11526A
split-complementary
#56116A #526A11 #116A2A
monochromatic
#15041A #2B0935 #56116A #81199F #AC22D3

Accessibility & contrast

On white

12.47
#56116A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56116A
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56116A#FFFFFF#000000##FFFFFF
##56116A1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56116a;
/* rgb */ color: rgb(86, 17, 106);
/* oklch */ color: oklch(34.4% 0.148 317.0);
Tailwind
colors: {
  custom: {
    50: '#895995',
    500: '#56116a',
    950: '#000000',
  },
}
SCSS
$custom: #56116a;
$custom-light: #895995;
$custom-dark: #000000;
JSON
{
  "hex": "#56116a",
  "rgb": {
    "r": 86,
    "g": 17,
    "b": 106
  },
  "hsl": {
    "h": 286.517,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.34417,
    "c": 0.14841,
    "h": 317
  },
  "luminance": 0.0342
}

Semantic roles & 50–950 ramp

primary
#56116A
secondary
#4DA235
accent
#EF3962
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #56116A

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

Preview Lab → · Contrast checker → · Palette generator →

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