#5E185C#5E185C

#5E185C is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.4% C 0.132 H 329.1°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#5E185C
RGBrgb(94, 24, 92)
HSLhsl(302, 59%, 23%)
HSVhsv(302, 74%, 37%)
CMYKcmyk(0%, 74.5%, 2.1%, 63.1%)
CIE-LABlab(23.02, 40.13, -24.43)
CIE-LCHlch(23.02, 46.98, 328.67°)
OKLaboklab(35.36% 0.1129 -0.0675)
OKLCHoklch(35.36% 0.132 329.1)
XYZxyz(6.8744, 3.8062, 10.4957)
Luminance0.0381 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E185C #185E1A
analogous
#3D185E #5E185C #5E1839
triadic
#5E185C #5C5E18 #185C5E
tetradic
#5E185C #5E3D18 #185E1A #18395E
square
#5E185C #5E3D18 #185E1A #18395E
split-complementary
#5E185C #395E18 #185E3D
monochromatic
#180618 #2D0C2C #5E185C #8F248C #C031BB

Accessibility & contrast

On white

11.92
#5E185C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#5E185C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E185C
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E185C#FFFFFF#000000##FFFFFF
##5E185C1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F315E
Deuteranopia (green-blind)
#2B3A5A
Tritanopia (blue-blind)
#612138
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5e185c;
/* rgb */ color: rgb(94, 24, 92);
/* oklch */ color: oklch(35.4% 0.132 329.1);
Tailwind
colors: {
  custom: {
    50: '#8e5c8a',
    500: '#5e185c',
    950: '#000000',
  },
}
SCSS
$custom: #5e185c;
$custom-light: #8e5c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e185c",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 92
  },
  "hsl": {
    "h": 301.714,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.35363,
    "c": 0.13153,
    "h": 329.1
  },
  "luminance": 0.03806
}

Semantic roles & 50–950 ramp

primary
#5E185C
secondary
#3D9440
accent
#E34A45
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E185C

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

Preview Lab → · Contrast checker → · Palette generator →

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