#56135A#56135A

#56135A is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.4% C 0.132 H 325.5°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#56135A
RGBrgb(86, 19, 90)
HSLhsl(297, 65%, 21%)
HSVhsv(297, 79%, 35%)
CMYKcmyk(4.4%, 78.9%, 0%, 64.7%)
CIE-LABlab(20.76, 39.70, -26.77)
CIE-LCHlch(20.76, 47.88, 326.00°)
OKLaboklab(33.42% 0.1086 -0.0745)
OKLCHoklch(33.42% 0.132 325.5)
XYZxyz(5.9160, 3.1828, 9.9736)
Luminance0.0318 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56135A #175A13
analogous
#33135A #56135A #5A133B
triadic
#56135A #5A5613 #135A56
tetradic
#56135A #5A3313 #175A13 #133B5A
square
#56135A #5A3313 #175A13 #133B5A
split-complementary
#56135A #3B5A13 #135A33
monochromatic
#180519 #260827 #56135A #861E8D #B728BF

Accessibility & contrast

On white

12.83
#56135A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#56135A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56135A
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56135A#FFFFFF#000000##FFFFFF
##56135A1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5C
Deuteranopia (green-blind)
#233558
Tritanopia (blue-blind)
#581F35
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #56135a;
/* rgb */ color: rgb(86, 19, 90);
/* oklch */ color: oklch(33.4% 0.132 325.5);
Tailwind
colors: {
  custom: {
    50: '#885989',
    500: '#56135a',
    950: '#000000',
  },
}
SCSS
$custom: #56135a;
$custom-light: #885989;
$custom-dark: #000000;
JSON
{
  "hex": "#56135a",
  "rgb": {
    "r": 86,
    "g": 19,
    "b": 90
  },
  "hsl": {
    "h": 296.62,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33422,
    "c": 0.13165,
    "h": 325.5
  },
  "luminance": 0.03182
}

Semantic roles & 50–950 ramp

primary
#56135A
secondary
#3C9237
accent
#E84049
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #56135A

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

Preview Lab → · Contrast checker → · Palette generator →

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