#56104D#56104D

#56104D is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.3% C 0.124 H 333.9°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#56104D
RGBrgb(86, 16, 77)
HSLhsl(308, 69%, 20%)
HSVhsv(308, 81%, 34%)
CMYKcmyk(0%, 81.4%, 10.5%, 66.3%)
CIE-LABlab(19.58, 38.41, -19.89)
CIE-LCHlch(19.58, 43.26, 332.63°)
OKLaboklab(32.32% 0.1115 -0.0545)
OKLCHoklch(32.32% 0.124 333.9)
XYZxyz(5.3626, 2.8853, 7.2942)
Luminance0.0289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56104D #105619
analogous
#3C1056 #56104D #56102A
triadic
#56104D #4D5610 #104D56
tetradic
#56104D #563C10 #105619 #102A56
square
#56104D #563C10 #105619 #102A56
split-complementary
#56104D #2A5610 #10563C
monochromatic
#1A0517 #22061F #56104D #8A1A7B #BD23A9

Accessibility & contrast

On white

13.32
#56104D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#56104D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56104D
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56104D#FFFFFF#000000##FFFFFF
##56104D1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E294F
Deuteranopia (green-blind)
#29334B
Tritanopia (blue-blind)
#5A172D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #56104d;
/* rgb */ color: rgb(86, 16, 77);
/* oklch */ color: oklch(32.3% 0.124 333.9);
Tailwind
colors: {
  custom: {
    50: '#88577f',
    500: '#56104d',
    950: '#000000',
  },
}
SCSS
$custom: #56104d;
$custom-light: #88577f;
$custom-dark: #000000;
JSON
{
  "hex": "#56104d",
  "rgb": {
    "r": 86,
    "g": 16,
    "b": 77
  },
  "hsl": {
    "h": 307.714,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.32316,
    "c": 0.12409,
    "h": 333.9
  },
  "luminance": 0.02885
}

Semantic roles & 50–950 ramp

primary
#56104D
secondary
#328F3E
accent
#EB533C
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C030A
muted
#7D787C

Preview Lab

Preview with #56104D

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

Preview Lab → · Contrast checker → · Palette generator →

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