#56124D#56124D

#56124D is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.5% C 0.122 H 334.0°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#56124D
RGBrgb(86, 18, 77)
HSLhsl(308, 65%, 20%)
HSVhsv(308, 79%, 34%)
CMYKcmyk(0%, 79.1%, 10.5%, 66.3%)
CIE-LABlab(19.83, 37.69, -19.49)
CIE-LCHlch(19.83, 42.43, 332.66°)
OKLaboklab(32.5% 0.1094 -0.0534)
OKLCHoklch(32.5% 0.122 334)
XYZxyz(5.3937, 2.9473, 7.3046)
Luminance0.0295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56124D #12561B
analogous
#3D1256 #56124D #56122B
triadic
#56124D #4D5612 #124D56
tetradic
#56124D #563D12 #12561B #122B56
square
#56124D #563D12 #12561B #122B56
split-complementary
#56124D #2B5612 #12563D
monochromatic
#190517 #230720 #56124D #891D7A #BB27A8

Accessibility & contrast

On white

13.21
#56124D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56124D
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56124D#FFFFFF#000000##FFFFFF
##56124D1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102A4F
Deuteranopia (green-blind)
#29334B
Tritanopia (blue-blind)
#5A182E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #56124d;
/* rgb */ color: rgb(86, 18, 77);
/* oklch */ color: oklch(32.5% 0.122 334.0);
Tailwind
colors: {
  custom: {
    50: '#88587f',
    500: '#56124d',
    950: '#000000',
  },
}
SCSS
$custom: #56124d;
$custom-light: #88587f;
$custom-dark: #000000;
JSON
{
  "hex": "#56124d",
  "rgb": {
    "r": 86,
    "g": 18,
    "b": 77
  },
  "hsl": {
    "h": 307.941,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32498,
    "c": 0.12168,
    "h": 334
  },
  "luminance": 0.02947
}

Semantic roles & 50–950 ramp

primary
#56124D
secondary
#358F41
accent
#E8563F
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #56124D

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

Preview Lab → · Contrast checker → · Palette generator →

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