#5C0D51#5C0D51

#5C0D51 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.4% C 0.134 H 334.8°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#5C0D51
RGBrgb(92, 13, 81)
HSLhsl(308, 75%, 21%)
HSVhsv(308, 86%, 36%)
CMYKcmyk(0%, 85.9%, 12%, 63.9%)
CIE-LABlab(20.67, 41.52, -20.81)
CIE-LCHlch(20.67, 46.44, 333.38°)
OKLaboklab(33.39% 0.1212 -0.057)
OKLCHoklch(33.39% 0.134 334.8)
XYZxyz(6.0428, 3.1578, 8.0742)
Luminance0.0316 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0D51 #0D5C18
analogous
#3F0D5C #5C0D51 #5C0D2A
triadic
#5C0D51 #515C0D #0D515C
tetradic
#5C0D51 #5C3F0D #0D5C18 #0D2A5C
square
#5C0D51 #5C3F0D #0D5C18 #0D2A5C
split-complementary
#5C0D51 #2A5C0D #0D5C3F
monochromatic
#1B0418 #260522 #5C0D51 #921580 #C71CAF

Accessibility & contrast

On white

12.87
#5C0D51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C0D51
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0D51#FFFFFF#000000##FFFFFF
##5C0D511.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2A53
Deuteranopia (green-blind)
#2B364F
Tritanopia (blue-blind)
#61152F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c0d51;
/* rgb */ color: rgb(92, 13, 81);
/* oklch */ color: oklch(33.4% 0.134 334.8);
Tailwind
colors: {
  custom: {
    50: '#8d5782',
    500: '#5c0d51',
    950: '#000000',
  },
}
SCSS
$custom: #5c0d51;
$custom-light: #8d5782;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0d51",
  "rgb": {
    "r": 92,
    "g": 13,
    "b": 81
  },
  "hsl": {
    "h": 308.354,
    "s": 75.238,
    "l": 20.588
  },
  "oklch": {
    "l": 0.33392,
    "c": 0.1339,
    "h": 334.8
  },
  "luminance": 0.03157
}

Semantic roles & 50–950 ramp

primary
#5C0D51
secondary
#2F963D
accent
#F25036
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5C0D51

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

Preview Lab → · Contrast checker → · Palette generator →

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