#5C1D64#5C1D64

#5C1D64 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.1% C 0.131 H 323.0°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#5C1D64
RGBrgb(92, 29, 100)
HSLhsl(293, 55%, 25%)
HSVhsv(293, 71%, 39%)
CMYKcmyk(8%, 71%, 0%, 60.8%)
CIE-LABlab(23.92, 39.05, -28.29)
CIE-LCHlch(23.92, 48.22, 324.08°)
OKLaboklab(36.1% 0.1046 -0.0788)
OKLCHoklch(36.1% 0.131 323)
XYZxyz(7.1530, 4.0745, 12.4638)
Luminance0.0407 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1D64 #25641D
analogous
#381D64 #5C1D64 #641D49
triadic
#5C1D64 #645C1D #1D645C
tetradic
#5C1D64 #64381D #25641D #1D4964
square
#5C1D64 #64381D #25641D #1D4964
split-complementary
#5C1D64 #49641D #1D6438
monochromatic
#160718 #300F35 #5C1D64 #882B93 #B339C3

Accessibility & contrast

On white

11.57
#5C1D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#5C1D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1D64
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1D64#FFFFFF#000000##FFFFFF
##5C1D641.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3466
Deuteranopia (green-blind)
#283B62
Tritanopia (blue-blind)
#5D293E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5c1d64;
/* rgb */ color: rgb(92, 29, 100);
/* oklch */ color: oklch(36.1% 0.131 323.0);
Tailwind
colors: {
  custom: {
    50: '#8d5f90',
    500: '#5c1d64',
    950: '#000000',
  },
}
SCSS
$custom: #5c1d64;
$custom-light: #8d5f90;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1d64",
  "rgb": {
    "r": 92,
    "g": 29,
    "b": 100
  },
  "hsl": {
    "h": 293.239,
    "s": 55.039,
    "l": 25.294
  },
  "oklch": {
    "l": 0.36098,
    "c": 0.13096,
    "h": 323
  },
  "luminance": 0.04074
}

Semantic roles & 50–950 ramp

primary
#5C1D64
secondary
#4D9944
accent
#DE495A
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C050C
muted
#7D797D

Preview Lab

Preview with #5C1D64

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

Preview Lab → · Contrast checker → · Palette generator →

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