#5E1465#5E1465

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

Color values

HEX#5E1465
RGBrgb(94, 20, 101)
HSLhsl(295, 67%, 24%)
HSVhsv(295, 80%, 40%)
CMYKcmyk(6.9%, 80.2%, 0%, 60.4%)
CIE-LABlab(23.07, 43.31, -30.28)
CIE-LCHlch(23.07, 52.85, 325.05°)
OKLaboklab(35.58% 0.1169 -0.0845)
OKLCHoklch(35.58% 0.144 324.2)
XYZxyz(7.2150, 3.8200, 12.6667)
Luminance0.0382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1465 #1B6514
analogous
#351465 #5E1465 #651443
triadic
#5E1465 #655E14 #14655E
tetradic
#5E1465 #653514 #1B6514 #144365
square
#5E1465 #653514 #1B6514 #144365
split-complementary
#5E1465 #436514 #146535
monochromatic
#18051A #2E0A32 #5E1465 #8E1E98 #BD28CB

Accessibility & contrast

On white

11.90
#5E1465 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1465
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1465#FFFFFF#000000##FFFFFF
##5E14651.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003167
Deuteranopia (green-blind)
#243A63
Tritanopia (blue-blind)
#60233C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5e1465;
/* rgb */ color: rgb(94, 20, 101);
/* oklch */ color: oklch(35.6% 0.144 324.2);
Tailwind
colors: {
  custom: {
    50: '#8f5b91',
    500: '#5e1465',
    950: '#000000',
  },
}
SCSS
$custom: #5e1465;
$custom-light: #8f5b91;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1465",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 101
  },
  "hsl": {
    "h": 294.815,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.35581,
    "c": 0.14424,
    "h": 324.2
  },
  "luminance": 0.0382
}

Semantic roles & 50–950 ramp

primary
#5E1465
secondary
#419C39
accent
#EA3E4D
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040D
muted
#7E797D

Preview Lab

Preview with #5E1465

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

Preview Lab → · Contrast checker → · Palette generator →

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