#5C0E5D#5C0E5D

#5C0E5D is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.2% C 0.143 H 327.6°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#5C0E5D
RGBrgb(92, 14, 93)
HSLhsl(299, 74%, 21%)
HSVhsv(299, 85%, 36%)
CMYKcmyk(1.1%, 84.9%, 0%, 63.5%)
CIE-LABlab(21.51, 43.29, -27.52)
CIE-LCHlch(21.51, 51.29, 327.56°)
OKLaboklab(34.23% 0.1203 -0.0764)
OKLCHoklch(34.23% 0.143 327.6)
XYZxyz(6.5464, 3.3802, 10.6615)
Luminance0.0338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0E5D #0F5D0E
analogous
#340E5D #5C0E5D #5D0E36
triadic
#5C0E5D #5D5C0E #0E5D5C
tetradic
#5C0E5D #5D340E #0F5D0E #0E365D
square
#5C0E5D #5D340E #0F5D0E #0E365D
split-complementary
#5C0E5D #365D0E #0E5D34
monochromatic
#1A041B #270628 #5C0E5D #911692 #C51EC7

Accessibility & contrast

On white

12.53
#5C0E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5C0E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0E5D
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0E5D#FFFFFF#000000##FFFFFF
##5C0E5D1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5F
Deuteranopia (green-blind)
#25375B
Tritanopia (blue-blind)
#5F1C36
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5c0e5d;
/* rgb */ color: rgb(92, 14, 93);
/* oklch */ color: oklch(34.2% 0.143 327.6);
Tailwind
colors: {
  custom: {
    50: '#8d588b',
    500: '#5c0e5d',
    950: '#000000',
  },
}
SCSS
$custom: #5c0e5d;
$custom-light: #8d588b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0e5d",
  "rgb": {
    "r": 92,
    "g": 14,
    "b": 93
  },
  "hsl": {
    "h": 299.241,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.34231,
    "c": 0.14253,
    "h": 327.6
  },
  "luminance": 0.0338
}

Semantic roles & 50–950 ramp

primary
#5C0E5D
secondary
#319730
accent
#F0373A
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040C
muted
#7D797D

Preview Lab

Preview with #5C0E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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