#5C0E50#5C0E50

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

Color values

HEX#5C0E50
RGBrgb(92, 14, 80)
HSLhsl(309, 74%, 21%)
HSVhsv(309, 85%, 36%)
CMYKcmyk(0%, 84.8%, 13%, 63.9%)
CIE-LABlab(20.71, 41.07, -20.06)
CIE-LCHlch(20.71, 45.70, 333.96°)
OKLaboklab(33.41% 0.1203 -0.0548)
OKLCHoklch(33.41% 0.132 335.5)
XYZxyz(6.0187, 3.1691, 7.8826)
Luminance0.0317 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0E50 #0E5C1A
analogous
#410E5C #5C0E50 #5C0E29
triadic
#5C0E50 #505C0E #0E505C
tetradic
#5C0E50 #5C410E #0E5C1A #0E295C
square
#5C0E50 #5C410E #0E5C1A #0E295C
split-complementary
#5C0E50 #295C0E #0E5C41
monochromatic
#1B0417 #270622 #5C0E50 #91167E #C61EAC

Accessibility & contrast

On white

12.85
#5C0E50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C0E50
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0E50#FFFFFF#000000##FFFFFF
##5C0E501.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c0e50;
/* rgb */ color: rgb(92, 14, 80);
/* oklch */ color: oklch(33.4% 0.132 335.5);
Tailwind
colors: {
  custom: {
    50: '#8d5881',
    500: '#5c0e50',
    950: '#000000',
  },
}
SCSS
$custom: #5c0e50;
$custom-light: #8d5881;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0e50",
  "rgb": {
    "r": 92,
    "g": 14,
    "b": 80
  },
  "hsl": {
    "h": 309.231,
    "s": 73.585,
    "l": 20.784
  },
  "oklch": {
    "l": 0.33405,
    "c": 0.13217,
    "h": 335.5
  },
  "luminance": 0.03169
}

Semantic roles & 50–950 ramp

primary
#5C0E50
secondary
#309640
accent
#F05438
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5C0E50

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

Preview Lab → · Contrast checker → · Palette generator →

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