#56154D#56154D

#56154D is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.8% C 0.118 H 334.1°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#56154D
RGBrgb(86, 21, 77)
HSLhsl(308, 61%, 21%)
HSVhsv(308, 76%, 34%)
CMYKcmyk(0%, 75.6%, 10.5%, 66.3%)
CIE-LABlab(20.25, 36.52, -18.83)
CIE-LCHlch(20.25, 41.09, 332.72°)
OKLaboklab(32.8% 0.1059 -0.0515)
OKLCHoklch(32.8% 0.118 334.1)
XYZxyz(5.4455, 3.0510, 7.3218)
Luminance0.0305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56154D #15561E
analogous
#3E1556 #56154D #56152C
triadic
#56154D #4D5615 #154D56
tetradic
#56154D #563E15 #15561E #152C56
square
#56154D #563E15 #15561E #152C56
split-complementary
#56154D #2C5615 #15563E
monochromatic
#190616 #250921 #56154D #872179 #B82DA5

Accessibility & contrast

On white

13.04
#56154D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56154D
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56154D#FFFFFF#000000##FFFFFF
##56154D1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142B4F
Deuteranopia (green-blind)
#2B344B
Tritanopia (blue-blind)
#5A1A2F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #56154d;
/* rgb */ color: rgb(86, 21, 77);
/* oklch */ color: oklch(32.8% 0.118 334.1);
Tailwind
colors: {
  custom: {
    50: '#88597f',
    500: '#56154d',
    950: '#000000',
  },
}
SCSS
$custom: #56154d;
$custom-light: #88597f;
$custom-dark: #000000;
JSON
{
  "hex": "#56154d",
  "rgb": {
    "r": 86,
    "g": 21,
    "b": 77
  },
  "hsl": {
    "h": 308.308,
    "s": 60.748,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32797,
    "c": 0.11776,
    "h": 334.1
  },
  "luminance": 0.03051
}

Semantic roles & 50–950 ramp

primary
#56154D
secondary
#398E45
accent
#E45A44
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #56154D

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

Preview Lab → · Contrast checker → · Palette generator →

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