#56136F#56136F

#56136F is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.0% C 0.151 H 314.5°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#56136F
RGBrgb(86, 19, 111)
HSLhsl(284, 71%, 25%)
HSVhsv(284, 83%, 44%)
CMYKcmyk(22.5%, 82.9%, 0%, 56.5%)
CIE-LABlab(22.27, 44.00, -38.13)
CIE-LCHlch(22.27, 58.22, 319.09°)
OKLaboklab(34.98% 0.1059 -0.1077)
OKLCHoklch(34.98% 0.151 314.5)
XYZxyz(6.9394, 3.5921, 15.3637)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56136F #2C6F13
analogous
#28136F #56136F #6F135A
triadic
#56136F #6F5613 #136F56
tetradic
#56136F #6F2813 #2C6F13 #135A6F
square
#56136F #6F2813 #2C6F13 #135A6F
split-complementary
#56136F #5A6F13 #136F28
monochromatic
#14041A #2E0A3B #56136F #7E1CA3 #A725D8

Accessibility & contrast

On white

12.22
#56136F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#56136F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56136F
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56136F#FFFFFF#000000##FFFFFF
##56136F1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56136f;
/* rgb */ color: rgb(86, 19, 111);
/* oklch */ color: oklch(35.0% 0.151 314.5);
Tailwind
colors: {
  custom: {
    50: '#895a99',
    500: '#56136f',
    950: '#000000',
  },
}
SCSS
$custom: #56136f;
$custom-light: #895a99;
$custom-dark: #000000;
JSON
{
  "hex": "#56136f",
  "rgb": {
    "r": 86,
    "g": 19,
    "b": 111
  },
  "hsl": {
    "h": 283.696,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.34975,
    "c": 0.15109,
    "h": 314.5
  },
  "luminance": 0.03592
}

Semantic roles & 50–950 ramp

primary
#56136F
secondary
#56A638
accent
#EE3A6B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #56136F

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

Preview Lab → · Contrast checker → · Palette generator →

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