#56155D#56155D

#56155D is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.8% C 0.132 H 323.7°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#56155D
RGBrgb(86, 21, 93)
HSLhsl(294, 63%, 22%)
HSVhsv(294, 77%, 36%)
CMYKcmyk(7.5%, 77.4%, 0%, 63.5%)
CIE-LABlab(21.23, 39.52, -28.03)
CIE-LCHlch(21.23, 48.45, 324.66°)
OKLaboklab(33.82% 0.1063 -0.0781)
OKLCHoklch(33.82% 0.132 323.7)
XYZxyz(6.0815, 3.3054, 10.6715)
Luminance0.0331 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56155D #1C5D15
analogous
#32155D #56155D #5D1540
triadic
#56155D #5D5615 #155D56
tetradic
#56155D #5D3215 #1C5D15 #15405D
square
#56155D #5D3215 #1C5D15 #15405D
split-complementary
#56155D #405D15 #155D32
monochromatic
#170619 #280A2B #56155D #84208F #B22CC1

Accessibility & contrast

On white

12.64
#56155D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#56155D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56155D
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56155D#FFFFFF#000000##FFFFFF
##56155D1.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E5F
Deuteranopia (green-blind)
#22365B
Tritanopia (blue-blind)
#582238
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #56155d;
/* rgb */ color: rgb(86, 21, 93);
/* oklch */ color: oklch(33.8% 0.132 323.7);
Tailwind
colors: {
  custom: {
    50: '#885a8b',
    500: '#56155d',
    950: '#000000',
  },
}
SCSS
$custom: #56155d;
$custom-light: #885a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#56155d",
  "rgb": {
    "r": 86,
    "g": 21,
    "b": 93
  },
  "hsl": {
    "h": 294.167,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33819,
    "c": 0.13194,
    "h": 323.7
  },
  "luminance": 0.03305
}

Semantic roles & 50–950 ramp

primary
#56155D
secondary
#429439
accent
#E64252
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #56155D

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

Preview Lab → · Contrast checker → · Palette generator →

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