#5E185A#5E185A

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

Color values

HEX#5E185A
RGBrgb(94, 24, 90)
HSLhsl(303, 59%, 23%)
HSVhsv(303, 74%, 37%)
CMYKcmyk(0%, 74.5%, 4.3%, 63.1%)
CIE-LABlab(22.90, 39.77, -23.29)
CIE-LCHlch(22.90, 46.08, 329.65°)
OKLaboklab(35.24% 0.1128 -0.0642)
OKLCHoklch(35.24% 0.13 330.4)
XYZxyz(6.7882, 3.7717, 10.0414)
Luminance0.0377 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E185A #185E1C
analogous
#3F185E #5E185A #5E1837
triadic
#5E185A #5A5E18 #185A5E
tetradic
#5E185A #5E3F18 #185E1C #18375E
square
#5E185A #5E3F18 #185E1C #18375E
split-complementary
#5E185A #375E18 #185E3F
monochromatic
#180617 #2D0C2B #5E185A #8F2489 #C031B7

Accessibility & contrast

On white

11.97
#5E185A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E185A
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E185A#FFFFFF#000000##FFFFFF
##5E185A1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11315C
Deuteranopia (green-blind)
#2C3A58
Tritanopia (blue-blind)
#622037
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5e185a;
/* rgb */ color: rgb(94, 24, 90);
/* oklch */ color: oklch(35.2% 0.130 330.4);
Tailwind
colors: {
  custom: {
    50: '#8e5c89',
    500: '#5e185a',
    950: '#000000',
  },
}
SCSS
$custom: #5e185a;
$custom-light: #8e5c89;
$custom-dark: #000000;
JSON
{
  "hex": "#5e185a",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 90
  },
  "hsl": {
    "h": 303.429,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3524,
    "c": 0.1298,
    "h": 330.4
  },
  "luminance": 0.03771
}

Semantic roles & 50–950 ramp

primary
#5E185A
secondary
#3D9442
accent
#E34E45
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E185A

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

Preview Lab → · Contrast checker → · Palette generator →

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