#5E185D#5E185D

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

Color values

HEX#5E185D
RGBrgb(94, 24, 93)
HSLhsl(301, 59%, 23%)
HSVhsv(301, 74%, 37%)
CMYKcmyk(0%, 74.5%, 1.1%, 63.1%)
CIE-LABlab(23.08, 40.32, -24.99)
CIE-LCHlch(23.08, 47.44, 328.20°)
OKLaboklab(35.43% 0.1129 -0.0691)
OKLCHoklch(35.43% 0.132 328.5)
XYZxyz(6.9184, 3.8238, 10.7275)
Luminance0.0382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E185D #185E19
analogous
#3C185E #5E185D #5E183A
triadic
#5E185D #5D5E18 #185D5E
tetradic
#5E185D #5E3C18 #185E19 #183A5E
square
#5E185D #5E3C18 #185E19 #183A5E
split-complementary
#5E185D #3A5E18 #185E3C
monochromatic
#180618 #2D0C2D #5E185D #8F248D #C031BD

Accessibility & contrast

On white

11.90
#5E185D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E185D
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E185D#FFFFFF#000000##FFFFFF
##5E185D1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E315F
Deuteranopia (green-blind)
#2B3A5B
Tritanopia (blue-blind)
#612238
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5e185d;
/* rgb */ color: rgb(94, 24, 93);
/* oklch */ color: oklch(35.4% 0.132 328.5);
Tailwind
colors: {
  custom: {
    50: '#8e5c8b',
    500: '#5e185d',
    950: '#000000',
  },
}
SCSS
$custom: #5e185d;
$custom-light: #8e5c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e185d",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 93
  },
  "hsl": {
    "h": 300.857,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.35426,
    "c": 0.13241,
    "h": 328.5
  },
  "luminance": 0.03823
}

Semantic roles & 50–950 ramp

primary
#5E185D
secondary
#3D943F
accent
#E34845
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E185D

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

Preview Lab → · Contrast checker → · Palette generator →

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