#5C1358#5C1358

#5C1358 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.3% C 0.133 H 330.4°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#5C1358
RGBrgb(92, 19, 88)
HSLhsl(303, 66%, 22%)
HSVhsv(303, 79%, 36%)
CMYKcmyk(0%, 79.3%, 4.3%, 63.9%)
CIE-LABlab(21.75, 40.79, -23.80)
CIE-LCHlch(21.75, 47.23, 329.73°)
OKLaboklab(34.3% 0.1158 -0.0657)
OKLCHoklch(34.3% 0.133 330.4)
XYZxyz(6.4079, 3.4461, 9.5583)
Luminance0.0345 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1358 #135C17
analogous
#3C135C #5C1358 #5C1334
triadic
#5C1358 #585C13 #13585C
tetradic
#5C1358 #5C3C13 #135C17 #13345C
square
#5C1358 #5C3C13 #135C17 #13345C
split-complementary
#5C1358 #345C13 #135C3C
monochromatic
#190518 #290927 #5C1358 #8F1D89 #C128B9

Accessibility & contrast

On white

12.43
#5C1358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5C1358 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1358
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1358#FFFFFF#000000##FFFFFF
##5C13581.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2E5A
Deuteranopia (green-blind)
#2A3856
Tritanopia (blue-blind)
#601D34
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5c1358;
/* rgb */ color: rgb(92, 19, 88);
/* oklch */ color: oklch(34.3% 0.133 330.4);
Tailwind
colors: {
  custom: {
    50: '#8d5a87',
    500: '#5c1358',
    950: '#000000',
  },
}
SCSS
$custom: #5c1358;
$custom-light: #8d5a87;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1358",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 88
  },
  "hsl": {
    "h": 303.288,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.34302,
    "c": 0.13315,
    "h": 330.4
  },
  "luminance": 0.03446
}

Semantic roles & 50–950 ramp

primary
#5C1358
secondary
#37943C
accent
#E9483F
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #5C1358

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

Preview Lab → · Contrast checker → · Palette generator →

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