#5E1354#5E1354

#5E1354 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.4% C 0.131 H 334.1°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#5E1354
RGBrgb(94, 19, 84)
HSLhsl(308, 66%, 22%)
HSVhsv(308, 80%, 37%)
CMYKcmyk(0%, 79.8%, 10.6%, 63.1%)
CIE-LABlab(21.89, 40.60, -20.87)
CIE-LCHlch(21.89, 45.65, 332.79°)
OKLaboklab(34.4% 0.1179 -0.0572)
OKLCHoklch(34.4% 0.131 334.1)
XYZxyz(6.4493, 3.4861, 8.7190)
Luminance0.0349 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1354 #135E1D
analogous
#43135E #5E1354 #5E132F
triadic
#5E1354 #545E13 #13545E
tetradic
#5E1354 #5E4313 #135E1D #132F5E
square
#5E1354 #5E4313 #135E1D #132F5E
split-complementary
#5E1354 #2F5E13 #135E43
monochromatic
#190517 #2B0927 #5E1354 #911D81 #C428AF

Accessibility & contrast

On white

12.37
#5E1354 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1354
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1354#FFFFFF#000000##FFFFFF
##5E13541.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112D56
Deuteranopia (green-blind)
#2D3852
Tritanopia (blue-blind)
#631A32
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e1354;
/* rgb */ color: rgb(94, 19, 84);
/* oklch */ color: oklch(34.4% 0.131 334.1);
Tailwind
colors: {
  custom: {
    50: '#8f5a84',
    500: '#5e1354',
    950: '#000000',
  },
}
SCSS
$custom: #5e1354;
$custom-light: #8f5a84;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1354",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 84
  },
  "hsl": {
    "h": 308,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.34403,
    "c": 0.13104,
    "h": 334.1
  },
  "luminance": 0.03486
}

Semantic roles & 50–950 ramp

primary
#5E1354
secondary
#379644
accent
#E9553F
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E1354

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

Preview Lab → · Contrast checker → · Palette generator →

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