#5C1B60#5C1B60

#5C1B60 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.6% C 0.130 H 325.4°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#5C1B60
RGBrgb(92, 27, 96)
HSLhsl(297, 56%, 24%)
HSVhsv(297, 72%, 38%)
CMYKcmyk(4.2%, 71.9%, 0%, 62.4%)
CIE-LABlab(23.35, 39.13, -26.56)
CIE-LCHlch(23.35, 47.29, 325.83°)
OKLaboklab(35.61% 0.107 -0.0737)
OKLCHoklch(35.61% 0.13 325.4)
XYZxyz(6.9167, 3.9041, 11.4533)
Luminance0.0390 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1B60 #1F601B
analogous
#3A1B60 #5C1B60 #601B42
triadic
#5C1B60 #605C1B #1B605C
tetradic
#5C1B60 #603A1B #1F601B #1B4260
square
#5C1B60 #603A1B #1F601B #1B4260
split-complementary
#5C1B60 #42601B #1B603A
monochromatic
#170718 #2E0E30 #5C1B60 #8A2890 #B836C0

Accessibility & contrast

On white

11.79
#5C1B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5C1B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1B60
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1B60#FFFFFF#000000##FFFFFF
##5C1B601.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3262
Deuteranopia (green-blind)
#293A5E
Tritanopia (blue-blind)
#5E263B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5c1b60;
/* rgb */ color: rgb(92, 27, 96);
/* oklch */ color: oklch(35.6% 0.130 325.4);
Tailwind
colors: {
  custom: {
    50: '#8d5e8d',
    500: '#5c1b60',
    950: '#000000',
  },
}
SCSS
$custom: #5c1b60;
$custom-light: #8d5e8d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1b60",
  "rgb": {
    "r": 92,
    "g": 27,
    "b": 96
  },
  "hsl": {
    "h": 296.522,
    "s": 56.098,
    "l": 24.118
  },
  "oklch": {
    "l": 0.35612,
    "c": 0.12997,
    "h": 325.4
  },
  "luminance": 0.03904
}

Semantic roles & 50–950 ramp

primary
#5C1B60
secondary
#469641
accent
#DF4851
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C050C
muted
#7D797D

Preview Lab

Preview with #5C1B60

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

Preview Lab → · Contrast checker → · Palette generator →

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