#56154C#56154C

#56154C is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.7% C 0.117 H 334.8°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#56154C
RGBrgb(86, 21, 76)
HSLhsl(309, 61%, 21%)
HSVhsv(309, 76%, 34%)
CMYKcmyk(0%, 75.6%, 11.6%, 66.3%)
CIE-LABlab(20.19, 36.34, -18.24)
CIE-LCHlch(20.19, 40.66, 333.35°)
OKLaboklab(32.74% 0.1058 -0.0498)
OKLCHoklch(32.74% 0.117 334.8)
XYZxyz(5.4105, 3.0370, 7.1373)
Luminance0.0304 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56154C #15561F
analogous
#3F1556 #56154C #56152B
triadic
#56154C #4C5615 #154C56
tetradic
#56154C #563F15 #15561F #152B56
square
#56154C #563F15 #15561F #152B56
split-complementary
#56154C #2B5615 #15563F
monochromatic
#190616 #250921 #56154C #872177 #B82DA3

Accessibility & contrast

On white

13.06
#56154C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56154C
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56154C#FFFFFF#000000##FFFFFF
##56154C1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152B4E
Deuteranopia (green-blind)
#2B344A
Tritanopia (blue-blind)
#5A1A2E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #56154c;
/* rgb */ color: rgb(86, 21, 76);
/* oklch */ color: oklch(32.7% 0.117 334.8);
Tailwind
colors: {
  custom: {
    50: '#88597e',
    500: '#56154c',
    950: '#000000',
  },
}
SCSS
$custom: #56154c;
$custom-light: #88597e;
$custom-dark: #000000;
JSON
{
  "hex": "#56154c",
  "rgb": {
    "r": 86,
    "g": 21,
    "b": 76
  },
  "hsl": {
    "h": 309.231,
    "s": 60.748,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32739,
    "c": 0.11692,
    "h": 334.8
  },
  "luminance": 0.03037
}

Semantic roles & 50–950 ramp

primary
#56154C
secondary
#398E46
accent
#E45D44
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #56154C

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

Preview Lab → · Contrast checker → · Palette generator →

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