#56155B#56155B

#56155B is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.7% C 0.130 H 324.9°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#56155B
RGBrgb(86, 21, 91)
HSLhsl(296, 63%, 22%)
HSVhsv(296, 77%, 36%)
CMYKcmyk(5.5%, 76.9%, 0%, 64.3%)
CIE-LABlab(21.10, 39.12, -26.91)
CIE-LCHlch(21.10, 47.48, 325.48°)
OKLaboklab(33.68% 0.1064 -0.0749)
OKLCHoklch(33.68% 0.13 324.9)
XYZxyz(5.9941, 3.2705, 10.2110)
Luminance0.0327 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56155B #1A5B15
analogous
#33155B #56155B #5B153D
triadic
#56155B #5B5615 #155B56
tetradic
#56155B #5B3315 #1A5B15 #153D5B
square
#56155B #5B3315 #1A5B15 #153D5B
split-complementary
#56155B #3D5B15 #155B33
monochromatic
#170619 #270A29 #56155B #85208D #B42CBE

Accessibility & contrast

On white

12.70
#56155B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#56155B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56155B
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56155B#FFFFFF#000000##FFFFFF
##56155B1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022E5D
Deuteranopia (green-blind)
#233559
Tritanopia (blue-blind)
#582136
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #56155b;
/* rgb */ color: rgb(86, 21, 91);
/* oklch */ color: oklch(33.7% 0.130 324.9);
Tailwind
colors: {
  custom: {
    50: '#885a8a',
    500: '#56155b',
    950: '#000000',
  },
}
SCSS
$custom: #56155b;
$custom-light: #885a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#56155b",
  "rgb": {
    "r": 86,
    "g": 21,
    "b": 91
  },
  "hsl": {
    "h": 295.714,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33682,
    "c": 0.13011,
    "h": 324.9
  },
  "luminance": 0.0327
}

Semantic roles & 50–950 ramp

primary
#56155B
secondary
#409239
accent
#E6424E
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #56155B

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

Preview Lab → · Contrast checker → · Palette generator →

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