#5E1468#5E1468

#5E1468 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.8% C 0.147 H 322.6°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#5E1468
RGBrgb(94, 20, 104)
HSLhsl(293, 68%, 24%)
HSVhsv(293, 81%, 41%)
CMYKcmyk(9.6%, 80.8%, 0%, 59.2%)
CIE-LABlab(23.27, 43.89, -31.91)
CIE-LCHlch(23.27, 54.27, 323.98°)
OKLaboklab(35.79% 0.1167 -0.0892)
OKLCHoklch(35.79% 0.147 322.6)
XYZxyz(7.3647, 3.8799, 13.4550)
Luminance0.0388 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1468 #1E6814
analogous
#341468 #5E1468 #681448
triadic
#5E1468 #685E14 #14685E
tetradic
#5E1468 #683414 #1E6814 #144868
square
#5E1468 #683414 #1E6814 #144868
split-complementary
#5E1468 #486814 #146834
monochromatic
#17051A #300A35 #5E1468 #8C1E9B #BB28CF

Accessibility & contrast

On white

11.83
#5E1468 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5E1468 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1468
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1468#FFFFFF#000000##FFFFFF
##5E14681.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326A
Deuteranopia (green-blind)
#213A66
Tritanopia (blue-blind)
#5F253E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5e1468;
/* rgb */ color: rgb(94, 20, 104);
/* oklch */ color: oklch(35.8% 0.147 322.6);
Tailwind
colors: {
  custom: {
    50: '#8f5b93',
    500: '#5e1468',
    950: '#000000',
  },
}
SCSS
$custom: #5e1468;
$custom-light: #8f5b93;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1468",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 104
  },
  "hsl": {
    "h": 292.857,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.3579,
    "c": 0.14689,
    "h": 322.6
  },
  "luminance": 0.03879
}

Semantic roles & 50–950 ramp

primary
#5E1468
secondary
#459F39
accent
#EB3D52
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5E1468

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

Preview Lab → · Contrast checker → · Palette generator →

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