#5D185C#5D185C

#5D185C is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.2% C 0.131 H 328.5°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#5D185C
RGBrgb(93, 24, 92)
HSLhsl(301, 59%, 23%)
HSVhsv(301, 74%, 36%)
CMYKcmyk(0%, 74.2%, 1.1%, 63.5%)
CIE-LABlab(22.84, 39.88, -24.72)
CIE-LCHlch(22.84, 46.92, 328.20°)
OKLaboklab(35.2% 0.1117 -0.0684)
OKLCHoklch(35.2% 0.131 328.5)
XYZxyz(6.7725, 3.7536, 10.4910)
Luminance0.0375 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D185C #185D19
analogous
#3C185D #5D185C #5D1839
triadic
#5D185C #5C5D18 #185C5D
tetradic
#5D185C #5D3C18 #185D19 #18395D
square
#5D185C #5D3C18 #185D19 #18395D
split-complementary
#5D185C #395D18 #185D3C
monochromatic
#180618 #2C0B2C #5D185C #8E258C #BE31BC

Accessibility & contrast

On white

12.00
#5D185C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#5D185C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D185C
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D185C#FFFFFF#000000##FFFFFF
##5D185C1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E315E
Deuteranopia (green-blind)
#2B3A5A
Tritanopia (blue-blind)
#602238
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5d185c;
/* rgb */ color: rgb(93, 24, 92);
/* oklch */ color: oklch(35.2% 0.131 328.5);
Tailwind
colors: {
  custom: {
    50: '#8e5c8a',
    500: '#5d185c',
    950: '#000000',
  },
}
SCSS
$custom: #5d185c;
$custom-light: #8e5c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d185c",
  "rgb": {
    "r": 93,
    "g": 24,
    "b": 92
  },
  "hsl": {
    "h": 300.87,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.35199,
    "c": 0.13096,
    "h": 328.5
  },
  "luminance": 0.03753
}

Semantic roles & 50–950 ramp

primary
#5D185C
secondary
#3D933F
accent
#E24846
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040C
muted
#7D797D

Preview Lab

Preview with #5D185C

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

Preview Lab → · Contrast checker → · Palette generator →

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