#5C1376#5C1376

#5C1376 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.4% C 0.160 H 314.9°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#5C1376
RGBrgb(92, 19, 118)
HSLhsl(284, 72%, 27%)
HSVhsv(284, 84%, 46%)
CMYKcmyk(22%, 83.9%, 0%, 53.7%)
CIE-LABlab(23.83, 46.65, -40.06)
CIE-LCHlch(23.83, 61.49, 319.35°)
OKLaboklab(36.44% 0.1127 -0.1132)
OKLCHoklch(36.44% 0.16 314.9)
XYZxyz(7.9160, 4.0494, 17.5006)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1376 #2D7613
analogous
#2A1376 #5C1376 #76135F
triadic
#5C1376 #765C13 #13765C
tetradic
#5C1376 #762A13 #2D7613 #135F76
square
#5C1376 #762A13 #2D7613 #135F76
split-complementary
#5C1376 #5F7613 #13762A
monochromatic
#15041A #330B41 #5C1376 #851BAB #AD27DC

Accessibility & contrast

On white

11.60
#5C1376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#5C1376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1376
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1376#FFFFFF#000000##FFFFFF
##5C13761.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#0C3A74
Tritanopia (blue-blind)
#5A2B45
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5c1376;
/* rgb */ color: rgb(92, 19, 118);
/* oklch */ color: oklch(36.4% 0.160 314.9);
Tailwind
colors: {
  custom: {
    50: '#8e5b9e',
    500: '#5c1376',
    950: '#000000',
  },
}
SCSS
$custom: #5c1376;
$custom-light: #8e5b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1376",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 118
  },
  "hsl": {
    "h": 284.242,
    "s": 72.263,
    "l": 26.863
  },
  "oklch": {
    "l": 0.36444,
    "c": 0.15975,
    "h": 314.9
  },
  "luminance": 0.04049
}

Semantic roles & 50–950 ramp

primary
#5C1376
secondary
#57AC39
accent
#EF3969
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5C1376

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

Preview Lab → · Contrast checker → · Palette generator →

#5C1376 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva