#56104F#56104F

#56104F is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.4% C 0.126 H 332.6°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#56104F
RGBrgb(86, 16, 79)
HSLhsl(306, 69%, 20%)
HSVhsv(306, 81%, 34%)
CMYKcmyk(0%, 81.4%, 8.1%, 66.3%)
CIE-LABlab(19.70, 38.76, -21.06)
CIE-LCHlch(19.70, 44.11, 331.48°)
OKLaboklab(32.44% 0.1116 -0.0579)
OKLCHoklch(32.44% 0.126 332.6)
XYZxyz(5.4343, 2.9140, 7.6719)
Luminance0.0291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56104F #105617
analogous
#3A1056 #56104F #56102C
triadic
#56104F #4F5610 #104F56
tetradic
#56104F #563A10 #105617 #102C56
square
#56104F #563A10 #105617 #102C56
split-complementary
#56104F #2C5610 #10563A
monochromatic
#1A0518 #220620 #56104F #8A1A7E #BD23AE

Accessibility & contrast

On white

13.27
#56104F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #56104F
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56104F#FFFFFF#000000##FFFFFF
##56104F1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2951
Deuteranopia (green-blind)
#28334D
Tritanopia (blue-blind)
#5A182E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #56104f;
/* rgb */ color: rgb(86, 16, 79);
/* oklch */ color: oklch(32.4% 0.126 332.6);
Tailwind
colors: {
  custom: {
    50: '#885780',
    500: '#56104f',
    950: '#000000',
  },
}
SCSS
$custom: #56104f;
$custom-light: #885780;
$custom-dark: #000000;
JSON
{
  "hex": "#56104f",
  "rgb": {
    "r": 86,
    "g": 16,
    "b": 79
  },
  "hsl": {
    "h": 306,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.32438,
    "c": 0.12571,
    "h": 332.6
  },
  "luminance": 0.02914
}

Semantic roles & 50–950 ramp

primary
#56104F
secondary
#328F3C
accent
#EB4E3C
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C030A
muted
#7D787C

Preview Lab

Preview with #56104F

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

Preview Lab → · Contrast checker → · Palette generator →

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