#5C185A#5C185A

#5C185A is a dark, vivid purple. Relative luminance 0.037; OKLCH L 34.9% C 0.129 H 329.2°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#5C185A
RGBrgb(92, 24, 90)
HSLhsl(302, 59%, 23%)
HSVhsv(302, 74%, 36%)
CMYKcmyk(0%, 73.9%, 2.2%, 63.9%)
CIE-LABlab(22.54, 39.25, -23.88)
CIE-LCHlch(22.54, 45.94, 328.68°)
OKLaboklab(34.91% 0.1104 -0.0659)
OKLCHoklch(34.91% 0.129 329.2)
XYZxyz(6.5857, 3.6672, 10.0319)
Luminance0.0367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C185A #185C1A
analogous
#3C185C #5C185A #5C1838
triadic
#5C185A #5A5C18 #185A5C
tetradic
#5C185A #5C3C18 #185C1A #18385C
square
#5C185A #5C3C18 #185C1A #18385C
split-complementary
#5C185A #385C18 #185C3C
monochromatic
#180618 #2B0B2B #5C185A #8D2589 #BD31B9

Accessibility & contrast

On white

12.11
#5C185A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#5C185A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C185A
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C185A#FFFFFF#000000##FFFFFF
##5C185A1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F305C
Deuteranopia (green-blind)
#2B3958
Tritanopia (blue-blind)
#5F2137
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5c185a;
/* rgb */ color: rgb(92, 24, 90);
/* oklch */ color: oklch(34.9% 0.129 329.2);
Tailwind
colors: {
  custom: {
    50: '#8d5c89',
    500: '#5c185a',
    950: '#000000',
  },
}
SCSS
$custom: #5c185a;
$custom-light: #8d5c89;
$custom-dark: #000000;
JSON
{
  "hex": "#5c185a",
  "rgb": {
    "r": 92,
    "g": 24,
    "b": 90
  },
  "hsl": {
    "h": 301.765,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34909,
    "c": 0.12862,
    "h": 329.2
  },
  "luminance": 0.03667
}

Semantic roles & 50–950 ramp

primary
#5C185A
secondary
#3D9340
accent
#E24B46
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #5C185A

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

Preview Lab → · Contrast checker → · Palette generator →

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