#56154E#56154E

#56154E is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.9% C 0.119 H 333.3°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#56154E
RGBrgb(86, 21, 78)
HSLhsl(307, 61%, 21%)
HSVhsv(307, 76%, 34%)
CMYKcmyk(0%, 75.6%, 9.3%, 66.3%)
CIE-LABlab(20.30, 36.69, -19.43)
CIE-LCHlch(20.30, 41.52, 332.10°)
OKLaboklab(32.86% 0.106 -0.0532)
OKLCHoklch(32.86% 0.119 333.3)
XYZxyz(5.4811, 3.0653, 7.5092)
Luminance0.0307 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56154E #15561D
analogous
#3D1556 #56154E #56152D
triadic
#56154E #4E5615 #154E56
tetradic
#56154E #563D15 #15561D #152D56
square
#56154E #563D15 #15561D #152D56
split-complementary
#56154E #2D5615 #15563D
monochromatic
#190616 #250921 #56154E #87217B #B82DA7

Accessibility & contrast

On white

13.02
#56154E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#56154E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56154E
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56154E#FFFFFF#000000##FFFFFF
##56154E1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132B50
Deuteranopia (green-blind)
#2A344C
Tritanopia (blue-blind)
#5A1B2F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #56154e;
/* rgb */ color: rgb(86, 21, 78);
/* oklch */ color: oklch(32.9% 0.119 333.3);
Tailwind
colors: {
  custom: {
    50: '#885980',
    500: '#56154e',
    950: '#000000',
  },
}
SCSS
$custom: #56154e;
$custom-light: #885980;
$custom-dark: #000000;
JSON
{
  "hex": "#56154e",
  "rgb": {
    "r": 86,
    "g": 21,
    "b": 78
  },
  "hsl": {
    "h": 307.385,
    "s": 60.748,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32856,
    "c": 0.1186,
    "h": 333.3
  },
  "luminance": 0.03065
}

Semantic roles & 50–950 ramp

primary
#56154E
secondary
#398E44
accent
#E45844
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #56154E

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

Preview Lab → · Contrast checker → · Palette generator →

#56154E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva