#5C0D57#5C0D57

#5C0D57 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.8% C 0.139 H 331.1°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#5C0D57
RGBrgb(92, 13, 87)
HSLhsl(304, 75%, 21%)
HSVhsv(304, 86%, 36%)
CMYKcmyk(0%, 85.9%, 5.4%, 63.9%)
CIE-LABlab(21.03, 42.52, -24.28)
CIE-LCHlch(21.03, 48.97, 330.27°)
OKLaboklab(33.77% 0.1213 -0.067)
OKLCHoklch(33.77% 0.139 331.1)
XYZxyz(6.2779, 3.2518, 9.3120)
Luminance0.0325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0D57 #0D5C12
analogous
#390D5C #5C0D57 #5C0D30
triadic
#5C0D57 #575C0D #0D575C
tetradic
#5C0D57 #5C390D #0D5C12 #0D305C
square
#5C0D57 #5C390D #0D5C12 #0D305C
split-complementary
#5C0D57 #305C0D #0D5C39
monochromatic
#1B0419 #260524 #5C0D57 #92158A #C71CBC

Accessibility & contrast

On white

12.73
#5C0D57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5C0D57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0D57
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0D57#FFFFFF#000000##FFFFFF
##5C0D571.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032C59
Deuteranopia (green-blind)
#283655
Tritanopia (blue-blind)
#601832
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5c0d57;
/* rgb */ color: rgb(92, 13, 87);
/* oklch */ color: oklch(33.8% 0.139 331.1);
Tailwind
colors: {
  custom: {
    50: '#8d5887',
    500: '#5c0d57',
    950: '#000000',
  },
}
SCSS
$custom: #5c0d57;
$custom-light: #8d5887;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0d57",
  "rgb": {
    "r": 92,
    "g": 13,
    "b": 87
  },
  "hsl": {
    "h": 303.797,
    "s": 75.238,
    "l": 20.588
  },
  "oklch": {
    "l": 0.33766,
    "c": 0.13859,
    "h": 331.1
  },
  "luminance": 0.03251
}

Semantic roles & 50–950 ramp

primary
#5C0D57
secondary
#2F9635
accent
#F24236
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0D040B
muted
#7D797C

Preview Lab

Preview with #5C0D57

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

Preview Lab → · Contrast checker → · Palette generator →

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