#5E195D#5E195D

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

Color values

HEX#5E195D
RGBrgb(94, 25, 93)
HSLhsl(301, 58%, 23%)
HSVhsv(301, 73%, 37%)
CMYKcmyk(0%, 73.4%, 1.1%, 63.1%)
CIE-LABlab(23.22, 39.91, -24.77)
CIE-LCHlch(23.22, 46.97, 328.18°)
OKLaboklab(35.53% 0.1118 -0.0685)
OKLCHoklch(35.53% 0.131 328.5)
XYZxyz(6.9394, 3.8658, 10.7345)
Luminance0.0386 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E195D #195E1A
analogous
#3C195E #5E195D #5E193A
triadic
#5E195D #5D5E19 #195D5E
tetradic
#5E195D #5E3C19 #195E1A #193A5E
square
#5E195D #5E3C19 #195E1A #193A5E
split-complementary
#5E195D #3A5E19 #195E3C
monochromatic
#180618 #2E0C2D #5E195D #8E268D #BF33BD

Accessibility & contrast

On white

11.84
#5E195D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E195D
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E195D#FFFFFF#000000##FFFFFF
##5E195D1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F325F
Deuteranopia (green-blind)
#2B3B5B
Tritanopia (blue-blind)
#612339
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5e195d;
/* rgb */ color: rgb(94, 25, 93);
/* oklch */ color: oklch(35.5% 0.131 328.5);
Tailwind
colors: {
  custom: {
    50: '#8e5d8b',
    500: '#5e195d',
    950: '#000000',
  },
}
SCSS
$custom: #5e195d;
$custom-light: #8e5d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e195d",
  "rgb": {
    "r": 94,
    "g": 25,
    "b": 93
  },
  "hsl": {
    "h": 300.87,
    "s": 57.983,
    "l": 23.333
  },
  "oklch": {
    "l": 0.35529,
    "c": 0.1311,
    "h": 328.5
  },
  "luminance": 0.03865
}

Semantic roles & 50–950 ramp

primary
#5E195D
secondary
#3F9440
accent
#E14947
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E195D

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

Preview Lab → · Contrast checker → · Palette generator →

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