#5C1B59#5C1B59

#5C1B59 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.2% C 0.124 H 329.7°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#5C1B59
RGBrgb(92, 27, 89)
HSLhsl(303, 55%, 23%)
HSVhsv(303, 71%, 36%)
CMYKcmyk(0%, 70.7%, 3.3%, 63.9%)
CIE-LABlab(22.93, 37.79, -22.60)
CIE-LCHlch(22.93, 44.03, 329.12°)
OKLaboklab(35.17% 0.1067 -0.0623)
OKLCHoklch(35.17% 0.124 329.7)
XYZxyz(6.6087, 3.7809, 9.8310)
Luminance0.0378 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1B59 #1B5C1E
analogous
#3E1B5C #5C1B59 #5C1B38
triadic
#5C1B59 #595C1B #1B595C
tetradic
#5C1B59 #5C3E1B #1B5C1E #1B385C
square
#5C1B59 #5C3E1B #1B5C1E #1B385C
split-complementary
#5C1B59 #385C1B #1B5C3E
monochromatic
#180717 #2D0D2B #5C1B59 #8B2987 #BB37B5

Accessibility & contrast

On white

11.96
#5C1B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#5C1B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1B59
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1B59#FFFFFF#000000##FFFFFF
##5C1B591.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15315B
Deuteranopia (green-blind)
#2D3A57
Tritanopia (blue-blind)
#5F2337
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5c1b59;
/* rgb */ color: rgb(92, 27, 89);
/* oklch */ color: oklch(35.2% 0.124 329.7);
Tailwind
colors: {
  custom: {
    50: '#8d5d88',
    500: '#5c1b59',
    950: '#000000',
  },
}
SCSS
$custom: #5c1b59;
$custom-light: #8d5d88;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1b59",
  "rgb": {
    "r": 92,
    "g": 27,
    "b": 89
  },
  "hsl": {
    "h": 302.769,
    "s": 54.622,
    "l": 23.333
  },
  "oklch": {
    "l": 0.35174,
    "c": 0.12356,
    "h": 329.7
  },
  "luminance": 0.0378
}

Semantic roles & 50–950 ramp

primary
#5C1B59
secondary
#419245
accent
#DE514A
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C050B
muted
#7D797C

Preview Lab

Preview with #5C1B59

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

Preview Lab → · Contrast checker → · Palette generator →

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