#5E1353#5E1353

#5E1353 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.3% C 0.130 H 334.8°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#5E1353
RGBrgb(94, 19, 83)
HSLhsl(309, 66%, 22%)
HSVhsv(309, 80%, 37%)
CMYKcmyk(0%, 79.8%, 11.7%, 63.1%)
CIE-LABlab(21.84, 40.43, -20.29)
CIE-LCHlch(21.84, 45.24, 333.35°)
OKLaboklab(34.34% 0.1179 -0.0555)
OKLCHoklch(34.34% 0.13 334.8)
XYZxyz(6.4104, 3.4705, 8.5142)
Luminance0.0347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1353 #135E1E
analogous
#44135E #5E1353 #5E132E
triadic
#5E1353 #535E13 #13535E
tetradic
#5E1353 #5E4413 #135E1E #132E5E
square
#5E1353 #5E4413 #135E1E #132E5E
split-complementary
#5E1353 #2E5E13 #135E44
monochromatic
#190516 #2B0926 #5E1353 #911D80 #C428AD

Accessibility & contrast

On white

12.40
#5E1353 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5E1353 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1353
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1353#FFFFFF#000000##FFFFFF
##5E13531.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122D55
Deuteranopia (green-blind)
#2E3851
Tritanopia (blue-blind)
#631A32
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e1353;
/* rgb */ color: rgb(94, 19, 83);
/* oklch */ color: oklch(34.3% 0.130 334.8);
Tailwind
colors: {
  custom: {
    50: '#8f5a83',
    500: '#5e1353',
    950: '#000000',
  },
}
SCSS
$custom: #5e1353;
$custom-light: #8f5a83;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1353",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 83
  },
  "hsl": {
    "h": 308.8,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.34344,
    "c": 0.13026,
    "h": 334.8
  },
  "luminance": 0.0347
}

Semantic roles & 50–950 ramp

primary
#5E1353
secondary
#379645
accent
#E9583F
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E1353

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

Preview Lab → · Contrast checker → · Palette generator →

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