#5C1352#5C1352

#5C1352 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 33.9% C 0.128 H 334.3°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#5C1352
RGBrgb(92, 19, 82)
HSLhsl(308, 66%, 22%)
HSVhsv(308, 79%, 36%)
CMYKcmyk(0%, 79.3%, 10.9%, 63.9%)
CIE-LABlab(21.40, 39.75, -20.33)
CIE-LCHlch(21.40, 44.65, 332.91°)
OKLaboklab(33.94% 0.1155 -0.0557)
OKLCHoklch(33.94% 0.128 334.3)
XYZxyz(6.1696, 3.3508, 8.3028)
Luminance0.0335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1352 #135C1D
analogous
#42135C #5C1352 #5C132E
triadic
#5C1352 #525C13 #13525C
tetradic
#5C1352 #5C4213 #135C1D #132E5C
square
#5C1352 #5C4213 #135C1D #132E5C
split-complementary
#5C1352 #2E5C13 #135C42
monochromatic
#190517 #290925 #5C1352 #8F1D7F #C128AC

Accessibility & contrast

On white

12.57
#5C1352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5C1352 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1352
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1352#FFFFFF#000000##FFFFFF
##5C13521.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122D54
Deuteranopia (green-blind)
#2C3750
Tritanopia (blue-blind)
#611A31
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5c1352;
/* rgb */ color: rgb(92, 19, 82);
/* oklch */ color: oklch(33.9% 0.128 334.3);
Tailwind
colors: {
  custom: {
    50: '#8d5a83',
    500: '#5c1352',
    950: '#000000',
  },
}
SCSS
$custom: #5c1352;
$custom-light: #8d5a83;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1352",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 82
  },
  "hsl": {
    "h": 308.219,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33936,
    "c": 0.12823,
    "h": 334.3
  },
  "luminance": 0.0335
}

Semantic roles & 50–950 ramp

primary
#5C1352
secondary
#379444
accent
#E9563F
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5C1352

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

Preview Lab → · Contrast checker → · Palette generator →

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