#5E1466#5E1466

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

Color values

HEX#5E1466
RGBrgb(94, 20, 102)
HSLhsl(294, 67%, 24%)
HSVhsv(294, 80%, 40%)
CMYKcmyk(7.8%, 80.4%, 0%, 60%)
CIE-LABlab(23.13, 43.50, -30.82)
CIE-LCHlch(23.13, 53.32, 324.68°)
OKLaboklab(35.65% 0.1168 -0.0861)
OKLCHoklch(35.65% 0.145 323.6)
XYZxyz(7.2643, 3.8398, 12.9263)
Luminance0.0384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1466 #1C6614
analogous
#351466 #5E1466 #661445
triadic
#5E1466 #665E14 #14665E
tetradic
#5E1466 #663514 #1C6614 #144566
square
#5E1466 #663514 #1C6614 #144566
split-complementary
#5E1466 #456614 #146635
monochromatic
#18051A #2F0A33 #5E1466 #8D1E99 #BC28CC

Accessibility & contrast

On white

11.88
#5E1466 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#5E1466 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1466
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1466#FFFFFF#000000##FFFFFF
##5E14661.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e1466;
/* rgb */ color: rgb(94, 20, 102);
/* oklch */ color: oklch(35.6% 0.145 323.6);
Tailwind
colors: {
  custom: {
    50: '#8f5b92',
    500: '#5e1466',
    950: '#000000',
  },
}
SCSS
$custom: #5e1466;
$custom-light: #8f5b92;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1466",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 102
  },
  "hsl": {
    "h": 294.146,
    "s": 67.213,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3565,
    "c": 0.14511,
    "h": 323.6
  },
  "luminance": 0.03839
}

Semantic roles & 50–950 ramp

primary
#5E1466
secondary
#429D39
accent
#EA3E4F
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5E1466

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

Preview Lab → · Contrast checker → · Palette generator →

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