#56104B#56104B

#56104B is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.2% C 0.122 H 335.3°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#56104B
RGBrgb(86, 16, 75)
HSLhsl(309, 69%, 20%)
HSVhsv(309, 81%, 34%)
CMYKcmyk(0%, 81.4%, 12.8%, 66.3%)
CIE-LABlab(19.46, 38.08, -18.70)
CIE-LCHlch(19.46, 42.42, 333.84°)
OKLaboklab(32.2% 0.1113 -0.0511)
OKLCHoklch(32.2% 0.122 335.3)
XYZxyz(5.2931, 2.8575, 6.9280)
Luminance0.0286 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56104B #10561B
analogous
#3E1056 #56104B #561028
triadic
#56104B #4B5610 #104B56
tetradic
#56104B #563E10 #10561B #102856
square
#56104B #563E10 #10561B #102856
split-complementary
#56104B #285610 #10563E
monochromatic
#1A0516 #22061E #56104B #8A1A78 #BD23A5

Accessibility & contrast

On white

13.36
#56104B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56104B
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56104B#FFFFFF#000000##FFFFFF
##56104B1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10294D
Deuteranopia (green-blind)
#293349
Tritanopia (blue-blind)
#5B162C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #56104b;
/* rgb */ color: rgb(86, 16, 75);
/* oklch */ color: oklch(32.2% 0.122 335.3);
Tailwind
colors: {
  custom: {
    50: '#88577d',
    500: '#56104b',
    950: '#000000',
  },
}
SCSS
$custom: #56104b;
$custom-light: #88577d;
$custom-dark: #000000;
JSON
{
  "hex": "#56104b",
  "rgb": {
    "r": 86,
    "g": 16,
    "b": 75
  },
  "hsl": {
    "h": 309.429,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.32196,
    "c": 0.12248,
    "h": 335.3
  },
  "luminance": 0.02857
}

Semantic roles & 50–950 ramp

primary
#56104B
secondary
#328F41
accent
#EB583C
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C0309
muted
#7D787B

Preview Lab

Preview with #56104B

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

Preview Lab → · Contrast checker → · Palette generator →

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