#56115B#56115B

#56115B is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.3% C 0.135 H 325.0°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#56115B
RGBrgb(86, 17, 91)
HSLhsl(296, 69%, 21%)
HSVhsv(296, 81%, 36%)
CMYKcmyk(5.5%, 81.3%, 0%, 64.3%)
CIE-LABlab(20.58, 40.61, -27.73)
CIE-LCHlch(20.58, 49.18, 325.67°)
OKLaboklab(33.31% 0.1105 -0.0773)
OKLCHoklch(33.31% 0.135 325)
XYZxyz(5.9264, 3.1351, 10.1885)
Luminance0.0314 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56115B #165B11
analogous
#31115B #56115B #5B113B
triadic
#56115B #5B5611 #115B56
tetradic
#56115B #5B3111 #165B11 #113B5B
square
#56115B #5B3111 #165B11 #113B5B
split-complementary
#56115B #3B5B11 #115B31
monochromatic
#18051A #250727 #56115B #871B8F #B724C2

Accessibility & contrast

On white

12.91
#56115B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#56115B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56115B
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56115B#FFFFFF#000000##FFFFFF
##56115B1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56115b;
/* rgb */ color: rgb(86, 17, 91);
/* oklch */ color: oklch(33.3% 0.135 325.0);
Tailwind
colors: {
  custom: {
    50: '#89588a',
    500: '#56115b',
    950: '#000000',
  },
}
SCSS
$custom: #56115b;
$custom-light: #89588a;
$custom-dark: #000000;
JSON
{
  "hex": "#56115b",
  "rgb": {
    "r": 86,
    "g": 17,
    "b": 91
  },
  "hsl": {
    "h": 295.946,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33312,
    "c": 0.13484,
    "h": 325
  },
  "luminance": 0.03135
}

Semantic roles & 50–950 ramp

primary
#56115B
secondary
#3A9434
accent
#EB3C48
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #56115B

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

Preview Lab → · Contrast checker → · Palette generator →

#56115B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva