#5E1366#5E1366

#5E1366 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.6% C 0.146 H 323.7°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#5E1366
RGBrgb(94, 19, 102)
HSLhsl(294, 69%, 24%)
HSVhsv(294, 81%, 40%)
CMYKcmyk(7.8%, 81.4%, 0%, 60%)
CIE-LABlab(23.02, 43.84, -31.01)
CIE-LCHlch(23.02, 53.70, 324.73°)
OKLaboklab(35.57% 0.1178 -0.0866)
OKLCHoklch(35.57% 0.146 323.7)
XYZxyz(7.2470, 3.8052, 12.9206)
Luminance0.0381 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1366 #1B6613
analogous
#341366 #5E1366 #661344
triadic
#5E1366 #665E13 #13665E
tetradic
#5E1366 #663413 #1B6613 #134466
square
#5E1366 #663413 #1B6613 #134466
split-complementary
#5E1366 #446613 #136634
monochromatic
#18051A #2E0932 #5E1366 #8E1D9A #BD26CD

Accessibility & contrast

On white

11.93
#5E1366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#5E1366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1366
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1366#FFFFFF#000000##FFFFFF
##5E13661.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003168
Deuteranopia (green-blind)
#233A64
Tritanopia (blue-blind)
#60233C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5e1366;
/* rgb */ color: rgb(94, 19, 102);
/* oklch */ color: oklch(35.6% 0.146 323.7);
Tailwind
colors: {
  custom: {
    50: '#8f5b92',
    500: '#5e1366',
    950: '#000000',
  },
}
SCSS
$custom: #5e1366;
$custom-light: #8f5b92;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1366",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 102
  },
  "hsl": {
    "h": 294.217,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.35566,
    "c": 0.14618,
    "h": 323.7
  },
  "luminance": 0.03805
}

Semantic roles & 50–950 ramp

primary
#5E1366
secondary
#419D37
accent
#EB3C4D
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5E1366

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

Preview Lab → · Contrast checker → · Palette generator →

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