#5E1364#5E1364

#5E1364 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.4% C 0.144 H 324.7°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#5E1364
RGBrgb(94, 19, 100)
HSLhsl(296, 68%, 23%)
HSVhsv(296, 81%, 39%)
CMYKcmyk(6%, 81%, 0%, 60.8%)
CIE-LABlab(22.88, 43.46, -29.92)
CIE-LCHlch(22.88, 52.76, 325.46°)
OKLaboklab(35.43% 0.1179 -0.0834)
OKLCHoklch(35.43% 0.144 324.7)
XYZxyz(7.1490, 3.7660, 12.4045)
Luminance0.0377 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1364 #196413
analogous
#351364 #5E1364 #641341
triadic
#5E1364 #645E13 #13645E
tetradic
#5E1364 #643513 #196413 #134164
square
#5E1364 #643513 #196413 #134164
split-complementary
#5E1364 #416413 #136435
monochromatic
#18051A #2E0931 #5E1364 #8E1D97 #BF27CB

Accessibility & contrast

On white

11.98
#5E1364 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#5E1364 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1364
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1364#FFFFFF#000000##FFFFFF
##5E13641.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003166
Deuteranopia (green-blind)
#243A62
Tritanopia (blue-blind)
#60223B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5e1364;
/* rgb */ color: rgb(94, 19, 100);
/* oklch */ color: oklch(35.4% 0.144 324.7);
Tailwind
colors: {
  custom: {
    50: '#8f5b90',
    500: '#5e1364',
    950: '#000000',
  },
}
SCSS
$custom: #5e1364;
$custom-light: #8f5b90;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1364",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 100
  },
  "hsl": {
    "h": 295.556,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.35428,
    "c": 0.14444,
    "h": 324.7
  },
  "luminance": 0.03766
}

Semantic roles & 50–950 ramp

primary
#5E1364
secondary
#3F9C37
accent
#EB3D4A
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E1364

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

Preview Lab → · Contrast checker → · Palette generator →

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