#5C1375#5C1375

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

Color values

HEX#5C1375
RGBrgb(92, 19, 117)
HSLhsl(285, 72%, 27%)
HSVhsv(285, 84%, 46%)
CMYKcmyk(21.4%, 83.8%, 0%, 54.1%)
CIE-LABlab(23.76, 46.45, -39.55)
CIE-LCHlch(23.76, 61.00, 319.59°)
OKLaboklab(36.36% 0.1129 -0.1117)
OKLCHoklch(36.36% 0.159 315.3)
XYZxyz(7.8569, 4.0257, 17.1893)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1375 #2C7513
analogous
#2B1375 #5C1375 #75135D
triadic
#5C1375 #755C13 #13755C
tetradic
#5C1375 #752B13 #2C7513 #135D75
square
#5C1375 #752B13 #2C7513 #135D75
split-complementary
#5C1375 #5D7513 #13752B
monochromatic
#15041A #330A40 #5C1375 #851CAA #AE27DC

Accessibility & contrast

On white

11.63
#5C1375 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1375
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1375#FFFFFF#000000##FFFFFF
##5C13751.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c1375;
/* rgb */ color: rgb(92, 19, 117);
/* oklch */ color: oklch(36.4% 0.159 315.3);
Tailwind
colors: {
  custom: {
    50: '#8e5b9d',
    500: '#5c1375',
    950: '#000000',
  },
}
SCSS
$custom: #5c1375;
$custom-light: #8e5b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1375",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 117
  },
  "hsl": {
    "h": 284.694,
    "s": 72.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.36365,
    "c": 0.15884,
    "h": 315.3
  },
  "luminance": 0.04025
}

Semantic roles & 50–950 ramp

primary
#5C1375
secondary
#56AB38
accent
#EF3967
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5C1375

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

Preview Lab → · Contrast checker → · Palette generator →

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