#5E1375#5E1375

#5E1375 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.7% C 0.160 H 316.4°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#5E1375
RGBrgb(94, 19, 117)
HSLhsl(286, 72%, 27%)
HSVhsv(286, 84%, 46%)
CMYKcmyk(19.7%, 83.8%, 0%, 54.1%)
CIE-LABlab(24.10, 46.83, -38.98)
CIE-LCHlch(24.10, 60.93, 320.23°)
OKLaboklab(36.67% 0.1156 -0.1099)
OKLCHoklch(36.67% 0.16 316.4)
XYZxyz(8.0594, 4.1301, 17.1988)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1375 #2A7513
analogous
#2D1375 #5E1375 #75135B
triadic
#5E1375 #755E13 #13755E
tetradic
#5E1375 #752D13 #2A7513 #135B75
square
#5E1375 #752D13 #2A7513 #135B75
split-complementary
#5E1375 #5B7513 #13752D
monochromatic
#15041A #340A40 #5E1375 #881CAA #B127DC

Accessibility & contrast

On white

11.50
#5E1375 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#5E1375 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1375
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1375#FFFFFF#000000##FFFFFF
##5E13751.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003578
Deuteranopia (green-blind)
#123B73
Tritanopia (blue-blind)
#5C2A45
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5e1375;
/* rgb */ color: rgb(94, 19, 117);
/* oklch */ color: oklch(36.7% 0.160 316.4);
Tailwind
colors: {
  custom: {
    50: '#8f5c9d',
    500: '#5e1375',
    950: '#000000',
  },
}
SCSS
$custom: #5e1375;
$custom-light: #8f5c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1375",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 117
  },
  "hsl": {
    "h": 285.918,
    "s": 72.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.36672,
    "c": 0.15957,
    "h": 316.4
  },
  "luminance": 0.0413
}

Semantic roles & 50–950 ramp

primary
#5E1375
secondary
#53AB38
accent
#EF3964
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5E1375

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

Preview Lab → · Contrast checker → · Palette generator →

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