#5E1358#5E1358

#5E1358 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.6% C 0.134 H 331.6°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#5E1358
RGBrgb(94, 19, 88)
HSLhsl(305, 66%, 22%)
HSVhsv(305, 80%, 37%)
CMYKcmyk(0%, 79.8%, 6.4%, 63.1%)
CIE-LABlab(22.13, 41.28, -23.18)
CIE-LCHlch(22.13, 47.35, 330.69°)
OKLaboklab(34.64% 0.1181 -0.0638)
OKLCHoklch(34.64% 0.134 331.6)
XYZxyz(6.6104, 3.5505, 9.5678)
Luminance0.0355 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1358 #135E19
analogous
#3F135E #5E1358 #5E1333
triadic
#5E1358 #585E13 #13585E
tetradic
#5E1358 #5E3F13 #135E19 #13335E
square
#5E1358 #5E3F13 #135E19 #13335E
split-complementary
#5E1358 #335E13 #135E3F
monochromatic
#190518 #2B0928 #5E1358 #911D88 #C428B7

Accessibility & contrast

On white

12.28
#5E1358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5E1358 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1358
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1358#FFFFFF#000000##FFFFFF
##5E13581.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2E5A
Deuteranopia (green-blind)
#2B3956
Tritanopia (blue-blind)
#621C34
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e1358;
/* rgb */ color: rgb(94, 19, 88);
/* oklch */ color: oklch(34.6% 0.134 331.6);
Tailwind
colors: {
  custom: {
    50: '#8f5a87',
    500: '#5e1358',
    950: '#000000',
  },
}
SCSS
$custom: #5e1358;
$custom-light: #8f5a87;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1358",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 88
  },
  "hsl": {
    "h": 304.8,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.34645,
    "c": 0.13428,
    "h": 331.6
  },
  "luminance": 0.0355
}

Semantic roles & 50–950 ramp

primary
#5E1358
secondary
#37963E
accent
#E94C3F
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E1358

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

Preview Lab → · Contrast checker → · Palette generator →

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