#5C1353#5C1353

#5C1353 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.0% C 0.129 H 333.6°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#5C1353
RGBrgb(92, 19, 83)
HSLhsl(307, 66%, 22%)
HSVhsv(307, 79%, 36%)
CMYKcmyk(0%, 79.3%, 9.8%, 63.9%)
CIE-LABlab(21.45, 39.92, -20.92)
CIE-LCHlch(21.45, 45.07, 332.35°)
OKLaboklab(34% 0.1156 -0.0573)
OKLCHoklch(34% 0.129 333.6)
XYZxyz(6.2079, 3.3661, 8.5047)
Luminance0.0337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1353 #135C1C
analogous
#41135C #5C1353 #5C132F
triadic
#5C1353 #535C13 #13535C
tetradic
#5C1353 #5C4113 #135C1C #132F5C
square
#5C1353 #5C4113 #135C1C #132F5C
split-complementary
#5C1353 #2F5C13 #135C41
monochromatic
#190517 #290925 #5C1353 #8F1D81 #C128AF

Accessibility & contrast

On white

12.55
#5C1353 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1353
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1353#FFFFFF#000000##FFFFFF
##5C13531.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112D55
Deuteranopia (green-blind)
#2C3751
Tritanopia (blue-blind)
#611A31
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5c1353;
/* rgb */ color: rgb(92, 19, 83);
/* oklch */ color: oklch(34.0% 0.129 333.6);
Tailwind
colors: {
  custom: {
    50: '#8d5a83',
    500: '#5c1353',
    950: '#000000',
  },
}
SCSS
$custom: #5c1353;
$custom-light: #8d5a83;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1353",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 83
  },
  "hsl": {
    "h": 307.397,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33996,
    "c": 0.12903,
    "h": 333.6
  },
  "luminance": 0.03366
}

Semantic roles & 50–950 ramp

primary
#5C1353
secondary
#379442
accent
#E9543F
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5C1353

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

Preview Lab → · Contrast checker → · Palette generator →

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