#5C0D4F#5C0D4F

#5C0D4F is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.3% C 0.132 H 336.1°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#5C0D4F
RGBrgb(92, 13, 79)
HSLhsl(310, 75%, 21%)
HSVhsv(310, 86%, 36%)
CMYKcmyk(0%, 85.9%, 14.1%, 63.9%)
CIE-LABlab(20.55, 41.20, -19.64)
CIE-LCHlch(20.55, 45.64, 334.52°)
OKLaboklab(33.27% 0.1211 -0.0536)
OKLCHoklch(33.27% 0.132 336.1)
XYZxyz(5.9689, 3.1282, 7.6851)
Luminance0.0313 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0D4F #0D5C1A
analogous
#410D5C #5C0D4F #5C0D28
triadic
#5C0D4F #4F5C0D #0D4F5C
tetradic
#5C0D4F #5C410D #0D5C1A #0D285C
square
#5C0D4F #5C410D #0D5C1A #0D285C
split-complementary
#5C0D4F #285C0D #0D5C41
monochromatic
#1B0417 #260521 #5C0D4F #92157D #C71CAB

Accessibility & contrast

On white

12.92
#5C0D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5C0D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0D4F
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0D4F#FFFFFF#000000##FFFFFF
##5C0D4F1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2A51
Deuteranopia (green-blind)
#2C364D
Tritanopia (blue-blind)
#61142E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c0d4f;
/* rgb */ color: rgb(92, 13, 79);
/* oklch */ color: oklch(33.3% 0.132 336.1);
Tailwind
colors: {
  custom: {
    50: '#8d5780',
    500: '#5c0d4f',
    950: '#000000',
  },
}
SCSS
$custom: #5c0d4f;
$custom-light: #8d5780;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0d4f",
  "rgb": {
    "r": 92,
    "g": 13,
    "b": 79
  },
  "hsl": {
    "h": 309.873,
    "s": 75.238,
    "l": 20.588
  },
  "oklch": {
    "l": 0.33273,
    "c": 0.13239,
    "h": 336.1
  },
  "luminance": 0.03128
}

Semantic roles & 50–950 ramp

primary
#5C0D4F
secondary
#2F9640
accent
#F25536
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5C0D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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