#5E1370#5E1370

#5E1370 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.3% C 0.155 H 318.7°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#5E1370
RGBrgb(94, 19, 112)
HSLhsl(288, 71%, 26%)
HSVhsv(288, 83%, 44%)
CMYKcmyk(16.1%, 83%, 0%, 56.1%)
CIE-LABlab(23.72, 45.81, -36.37)
CIE-LCHlch(23.72, 58.49, 321.55°)
OKLaboklab(36.29% 0.1165 -0.1023)
OKLCHoklch(36.29% 0.155 318.7)
XYZxyz(7.7732, 4.0157, 15.6917)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1370 #257013
analogous
#2F1370 #5E1370 #701353
triadic
#5E1370 #705E13 #13705E
tetradic
#5E1370 #702F13 #257013 #135370
square
#5E1370 #702F13 #257013 #135370
split-complementary
#5E1370 #537013 #13702F
monochromatic
#16041A #320A3C #5E1370 #8A1CA4 #B625D9

Accessibility & contrast

On white

11.65
#5E1370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#5E1370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1370
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1370#FFFFFF#000000##FFFFFF
##5E13701.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003472
Deuteranopia (green-blind)
#193B6E
Tritanopia (blue-blind)
#5E2842
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5e1370;
/* rgb */ color: rgb(94, 19, 112);
/* oklch */ color: oklch(36.3% 0.155 318.7);
Tailwind
colors: {
  custom: {
    50: '#8f5b9a',
    500: '#5e1370',
    950: '#000000',
  },
}
SCSS
$custom: #5e1370;
$custom-light: #8f5b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1370",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 112
  },
  "hsl": {
    "h": 288.387,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.36291,
    "c": 0.15506,
    "h": 318.7
  },
  "luminance": 0.04015
}

Semantic roles & 50–950 ramp

primary
#5E1370
secondary
#4DA738
accent
#EE3A5D
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5E1370

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

Preview Lab → · Contrast checker → · Palette generator →

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