#56124C#56124C

#56124C is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.4% C 0.121 H 334.7°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#56124C
RGBrgb(86, 18, 76)
HSLhsl(309, 65%, 20%)
HSVhsv(309, 79%, 34%)
CMYKcmyk(0%, 79.1%, 11.6%, 66.3%)
CIE-LABlab(19.77, 37.52, -18.89)
CIE-LCHlch(19.77, 42.01, 333.27°)
OKLaboklab(32.44% 0.1093 -0.0517)
OKLCHoklch(32.44% 0.121 334.7)
XYZxyz(5.3586, 2.9333, 7.1200)
Luminance0.0293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56124C #12561C
analogous
#3E1256 #56124C #56122A
triadic
#56124C #4C5612 #124C56
tetradic
#56124C #563E12 #12561C #122A56
square
#56124C #563E12 #12561C #122A56
split-complementary
#56124C #2A5612 #12563E
monochromatic
#190516 #23071F #56124C #891D79 #BB27A5

Accessibility & contrast

On white

13.24
#56124C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#56124C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56124C
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56124C#FFFFFF#000000##FFFFFF
##56124C1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11294E
Deuteranopia (green-blind)
#2A334A
Tritanopia (blue-blind)
#5B182D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #56124c;
/* rgb */ color: rgb(86, 18, 76);
/* oklch */ color: oklch(32.4% 0.121 334.7);
Tailwind
colors: {
  custom: {
    50: '#88587e',
    500: '#56124c',
    950: '#000000',
  },
}
SCSS
$custom: #56124c;
$custom-light: #88587e;
$custom-dark: #000000;
JSON
{
  "hex": "#56124c",
  "rgb": {
    "r": 86,
    "g": 18,
    "b": 76
  },
  "hsl": {
    "h": 308.824,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32438,
    "c": 0.12087,
    "h": 334.7
  },
  "luminance": 0.02933
}

Semantic roles & 50–950 ramp

primary
#56124C
secondary
#358F42
accent
#E8583F
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #56124C

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

Preview Lab → · Contrast checker → · Palette generator →

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