#5E1463#5E1463

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

Color values

HEX#5E1463
RGBrgb(94, 20, 99)
HSLhsl(296, 66%, 23%)
HSVhsv(296, 80%, 39%)
CMYKcmyk(5.1%, 79.8%, 0%, 61.2%)
CIE-LABlab(22.93, 42.93, -29.18)
CIE-LCHlch(22.93, 51.91, 325.80°)
OKLaboklab(35.44% 0.117 -0.0812)
OKLCHoklch(35.44% 0.142 325.2)
XYZxyz(7.1182, 3.7813, 12.1569)
Luminance0.0378 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1463 #196314
analogous
#361463 #5E1463 #631440
triadic
#5E1463 #635E14 #14635E
tetradic
#5E1463 #633614 #196314 #144063
square
#5E1463 #633614 #196314 #144063
split-complementary
#5E1463 #406314 #146336
monochromatic
#180519 #2E0A30 #5E1463 #8E1E96 #BF29C9

Accessibility & contrast

On white

11.96
#5E1463 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1463
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1463#FFFFFF#000000##FFFFFF
##5E14631.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003165
Deuteranopia (green-blind)
#253A61
Tritanopia (blue-blind)
#60223B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5e1463;
/* rgb */ color: rgb(94, 20, 99);
/* oklch */ color: oklch(35.4% 0.142 325.2);
Tailwind
colors: {
  custom: {
    50: '#8f5b90',
    500: '#5e1463',
    950: '#000000',
  },
}
SCSS
$custom: #5e1463;
$custom-light: #8f5b90;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1463",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 99
  },
  "hsl": {
    "h": 296.203,
    "s": 66.387,
    "l": 23.333
  },
  "oklch": {
    "l": 0.35444,
    "c": 0.14248,
    "h": 325.2
  },
  "luminance": 0.03781
}

Semantic roles & 50–950 ramp

primary
#5E1463
secondary
#3F9A38
accent
#E93E49
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E1463

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

Preview Lab → · Contrast checker → · Palette generator →

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