#5C1374#5C1374

#5C1374 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.3% C 0.158 H 315.8°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#5C1374
RGBrgb(92, 19, 116)
HSLhsl(285, 72%, 26%)
HSVhsv(285, 84%, 45%)
CMYKcmyk(20.7%, 83.6%, 0%, 54.5%)
CIE-LABlab(23.68, 46.24, -39.03)
CIE-LCHlch(23.68, 60.51, 319.83°)
OKLaboklab(36.29% 0.1131 -0.1102)
OKLCHoklch(36.29% 0.158 315.8)
XYZxyz(7.7984, 4.0023, 16.8814)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1374 #2B7413
analogous
#2C1374 #5C1374 #74135C
triadic
#5C1374 #745C13 #13745C
tetradic
#5C1374 #742C13 #2B7413 #135C74
square
#5C1374 #742C13 #2B7413 #135C74
split-complementary
#5C1374 #5C7413 #13742C
monochromatic
#15041A #320A3F #5C1374 #861CA9 #AF26DB

Accessibility & contrast

On white

11.66
#5C1374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#5C1374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1374
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1374#FFFFFF#000000##FFFFFF
##5C13741.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003477
Deuteranopia (green-blind)
#103A72
Tritanopia (blue-blind)
#5A2A44
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5c1374;
/* rgb */ color: rgb(92, 19, 116);
/* oklch */ color: oklch(36.3% 0.158 315.8);
Tailwind
colors: {
  custom: {
    50: '#8e5b9d',
    500: '#5c1374',
    950: '#000000',
  },
}
SCSS
$custom: #5c1374;
$custom-light: #8e5b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1374",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 285.155,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.36287,
    "c": 0.15792,
    "h": 315.8
  },
  "luminance": 0.04002
}

Semantic roles & 50–950 ramp

primary
#5C1374
secondary
#55AA38
accent
#EF3966
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5C1374

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

Preview Lab → · Contrast checker → · Palette generator →

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