#5E1355#5E1355

#5E1355 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.5% C 0.132 H 333.5°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#5E1355
RGBrgb(94, 19, 85)
HSLhsl(307, 66%, 22%)
HSVhsv(307, 80%, 37%)
CMYKcmyk(0%, 79.8%, 9.6%, 63.1%)
CIE-LABlab(21.95, 40.77, -21.45)
CIE-LCHlch(21.95, 46.07, 332.25°)
OKLaboklab(34.46% 0.118 -0.0588)
OKLCHoklch(34.46% 0.132 333.5)
XYZxyz(6.4887, 3.5019, 8.9268)
Luminance0.0350 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1355 #135E1C
analogous
#42135E #5E1355 #5E1330
triadic
#5E1355 #555E13 #13555E
tetradic
#5E1355 #5E4213 #135E1C #13305E
square
#5E1355 #5E4213 #135E1C #13305E
split-complementary
#5E1355 #305E13 #135E42
monochromatic
#190517 #2B0927 #5E1355 #911D83 #C428B1

Accessibility & contrast

On white

12.35
#5E1355 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5E1355 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1355
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1355#FFFFFF#000000##FFFFFF
##5E13551.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102E57
Deuteranopia (green-blind)
#2D3853
Tritanopia (blue-blind)
#631B33
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e1355;
/* rgb */ color: rgb(94, 19, 85);
/* oklch */ color: oklch(34.5% 0.132 333.5);
Tailwind
colors: {
  custom: {
    50: '#8f5a85',
    500: '#5e1355',
    950: '#000000',
  },
}
SCSS
$custom: #5e1355;
$custom-light: #8f5a85;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1355",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 85
  },
  "hsl": {
    "h": 307.2,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.34462,
    "c": 0.13185,
    "h": 333.5
  },
  "luminance": 0.03501
}

Semantic roles & 50–950 ramp

primary
#5E1355
secondary
#379642
accent
#E9533F
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E1355

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

Preview Lab → · Contrast checker → · Palette generator →

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