#5C0E51#5C0E51

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

Color values

HEX#5C0E51
RGBrgb(92, 14, 81)
HSLhsl(308, 74%, 21%)
HSVhsv(308, 85%, 36%)
CMYKcmyk(0%, 84.8%, 12%, 63.9%)
CIE-LABlab(20.77, 41.23, -20.65)
CIE-LCHlch(20.77, 46.11, 333.39°)
OKLaboklab(33.47% 0.1203 -0.0565)
OKLCHoklch(33.47% 0.133 334.8)
XYZxyz(6.0560, 3.1840, 8.0786)
Luminance0.0318 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0E51 #0E5C19
analogous
#400E5C #5C0E51 #5C0E2A
triadic
#5C0E51 #515C0E #0E515C
tetradic
#5C0E51 #5C400E #0E5C19 #0E2A5C
square
#5C0E51 #5C400E #0E5C19 #0E2A5C
split-complementary
#5C0E51 #2A5C0E #0E5C40
monochromatic
#1B0417 #270622 #5C0E51 #911680 #C61EAF

Accessibility & contrast

On white

12.83
#5C0E51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5C0E51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0E51
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0E51#FFFFFF#000000##FFFFFF
##5C0E511.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c0e51;
/* rgb */ color: rgb(92, 14, 81);
/* oklch */ color: oklch(33.5% 0.133 334.8);
Tailwind
colors: {
  custom: {
    50: '#8d5882',
    500: '#5c0e51',
    950: '#000000',
  },
}
SCSS
$custom: #5c0e51;
$custom-light: #8d5882;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0e51",
  "rgb": {
    "r": 92,
    "g": 14,
    "b": 81
  },
  "hsl": {
    "h": 308.462,
    "s": 73.585,
    "l": 20.784
  },
  "oklch": {
    "l": 0.33465,
    "c": 0.13293,
    "h": 334.8
  },
  "luminance": 0.03183
}

Semantic roles & 50–950 ramp

primary
#5C0E51
secondary
#30963E
accent
#F05238
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5C0E51

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

Preview Lab → · Contrast checker → · Palette generator →

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