#56136E#56136E

#56136E is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.9% C 0.150 H 315.0°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#56136E
RGBrgb(86, 19, 110)
HSLhsl(284, 71%, 25%)
HSVhsv(284, 83%, 43%)
CMYKcmyk(21.8%, 82.7%, 0%, 56.9%)
CIE-LABlab(22.20, 43.79, -37.61)
CIE-LCHlch(22.20, 57.72, 319.34°)
OKLaboklab(34.9% 0.1061 -0.1062)
OKLCHoklch(34.9% 0.15 315)
XYZxyz(6.8846, 3.5702, 15.0753)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56136E #2B6E13
analogous
#28136E #56136E #6E1358
triadic
#56136E #6E5613 #136E56
tetradic
#56136E #6E2813 #2B6E13 #13586E
square
#56136E #6E2813 #2B6E13 #13586E
split-complementary
#56136E #586E13 #136E28
monochromatic
#14051A #2D0A3A #56136E #7F1CA2 #A825D6

Accessibility & contrast

On white

12.25
#56136E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#56136E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56136E
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56136E#FFFFFF#000000##FFFFFF
##56136E1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003170
Deuteranopia (green-blind)
#0E376C
Tritanopia (blue-blind)
#542941
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #56136e;
/* rgb */ color: rgb(86, 19, 110);
/* oklch */ color: oklch(34.9% 0.150 315.0);
Tailwind
colors: {
  custom: {
    50: '#895a98',
    500: '#56136e',
    950: '#000000',
  },
}
SCSS
$custom: #56136e;
$custom-light: #895a98;
$custom-dark: #000000;
JSON
{
  "hex": "#56136e",
  "rgb": {
    "r": 86,
    "g": 19,
    "b": 110
  },
  "hsl": {
    "h": 284.176,
    "s": 70.543,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34896,
    "c": 0.15014,
    "h": 315
  },
  "luminance": 0.0357
}

Semantic roles & 50–950 ramp

primary
#56136E
secondary
#55A538
accent
#ED3A6A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #56136E

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

Preview Lab → · Contrast checker → · Palette generator →

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