#56104C#56104C

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

Color values

HEX#56104C
RGBrgb(86, 16, 76)
HSLhsl(309, 69%, 20%)
HSVhsv(309, 81%, 34%)
CMYKcmyk(0%, 81.4%, 11.6%, 66.3%)
CIE-LABlab(19.52, 38.25, -19.29)
CIE-LCHlch(19.52, 42.84, 333.23°)
OKLaboklab(32.26% 0.1114 -0.0528)
OKLCHoklch(32.26% 0.123 334.6)
XYZxyz(5.3276, 2.8713, 7.1097)
Luminance0.0287 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56104C #10561A
analogous
#3D1056 #56104C #561029
triadic
#56104C #4C5610 #104C56
tetradic
#56104C #563D10 #10561A #102956
square
#56104C #563D10 #10561A #102956
split-complementary
#56104C #295610 #10563D
monochromatic
#1A0517 #22061E #56104C #8A1A7A #BD23A7

Accessibility & contrast

On white

13.34
#56104C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#56104C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56104C
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56104C#FFFFFF#000000##FFFFFF
##56104C1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F294E
Deuteranopia (green-blind)
#29334A
Tritanopia (blue-blind)
#5B162D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #56104c;
/* rgb */ color: rgb(86, 16, 76);
/* oklch */ color: oklch(32.3% 0.123 334.6);
Tailwind
colors: {
  custom: {
    50: '#88577e',
    500: '#56104c',
    950: '#000000',
  },
}
SCSS
$custom: #56104c;
$custom-light: #88577e;
$custom-dark: #000000;
JSON
{
  "hex": "#56104c",
  "rgb": {
    "r": 86,
    "g": 16,
    "b": 76
  },
  "hsl": {
    "h": 308.571,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.32255,
    "c": 0.12328,
    "h": 334.6
  },
  "luminance": 0.02871
}

Semantic roles & 50–950 ramp

primary
#56104C
secondary
#328F40
accent
#EB553C
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C030A
muted
#7D787C

Preview Lab

Preview with #56104C

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

Preview Lab → · Contrast checker → · Palette generator →

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