#5E185F#5E185F

#5E185F is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.6% C 0.134 H 327.4°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#5E185F
RGBrgb(94, 24, 95)
HSLhsl(299, 60%, 23%)
HSVhsv(299, 75%, 37%)
CMYKcmyk(1.1%, 74.7%, 0%, 62.7%)
CIE-LABlab(23.20, 40.69, -26.12)
CIE-LCHlch(23.20, 48.35, 327.30°)
OKLaboklab(35.55% 0.113 -0.0724)
OKLCHoklch(35.55% 0.134 327.4)
XYZxyz(7.0082, 3.8597, 11.2001)
Luminance0.0386 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E185F #195F18
analogous
#3A185F #5E185F #5F183C
triadic
#5E185F #5F5E18 #185F5E
tetradic
#5E185F #5F3A18 #195F18 #183C5F
square
#5E185F #5F3A18 #195F18 #183C5F
split-complementary
#5E185F #3C5F18 #185F3A
monochromatic
#180618 #2E0C2E #5E185F #8E2490 #BF31C1

Accessibility & contrast

On white

11.85
#5E185F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#5E185F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E185F
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E185F#FFFFFF#000000##FFFFFF
##5E185F1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3261
Deuteranopia (green-blind)
#2A3A5D
Tritanopia (blue-blind)
#61233A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5e185f;
/* rgb */ color: rgb(94, 24, 95);
/* oklch */ color: oklch(35.6% 0.134 327.4);
Tailwind
colors: {
  custom: {
    50: '#8e5d8d',
    500: '#5e185f',
    950: '#000000',
  },
}
SCSS
$custom: #5e185f;
$custom-light: #8e5d8d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e185f",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 95
  },
  "hsl": {
    "h": 299.155,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.35553,
    "c": 0.13418,
    "h": 327.4
  },
  "luminance": 0.03859
}

Semantic roles & 50–950 ramp

primary
#5E185F
secondary
#3F953D
accent
#E34547
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E185F

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

Preview Lab → · Contrast checker → · Palette generator →

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