#56136A#56136A

#56136A is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.6% C 0.146 H 316.9°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#56136A
RGBrgb(86, 19, 106)
HSLhsl(286, 70%, 25%)
HSVhsv(286, 82%, 42%)
CMYKcmyk(18.9%, 82.1%, 0%, 58.4%)
CIE-LABlab(21.89, 42.93, -35.51)
CIE-LCHlch(21.89, 55.71, 320.41°)
OKLaboklab(34.58% 0.1069 -0.1)
OKLCHoklch(34.58% 0.146 316.9)
XYZxyz(6.6718, 3.4851, 13.9541)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56136A #276A13
analogous
#2B136A #56136A #6A1353
triadic
#56136A #6A5613 #136A56
tetradic
#56136A #6A2B13 #276A13 #13536A
square
#56136A #6A2B13 #276A13 #13536A
split-complementary
#56136A #536A13 #136A2B
monochromatic
#15051A #2C0A36 #56136A #801C9E #AA26D2

Accessibility & contrast

On white

12.37
#56136A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#56136A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56136A
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56136A#FFFFFF#000000##FFFFFF
##56136A1.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56136a;
/* rgb */ color: rgb(86, 19, 106);
/* oklch */ color: oklch(34.6% 0.146 316.9);
Tailwind
colors: {
  custom: {
    50: '#895a95',
    500: '#56136a',
    950: '#000000',
  },
}
SCSS
$custom: #56136a;
$custom-light: #895a95;
$custom-dark: #000000;
JSON
{
  "hex": "#56136a",
  "rgb": {
    "r": 86,
    "g": 19,
    "b": 106
  },
  "hsl": {
    "h": 286.207,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.34583,
    "c": 0.14638,
    "h": 316.9
  },
  "luminance": 0.03485
}

Semantic roles & 50–950 ramp

primary
#56136A
secondary
#50A138
accent
#EC3B64
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #56136A

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

Preview Lab → · Contrast checker → · Palette generator →

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