#5E1460#5E1460

#5E1460 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.2% C 0.140 H 326.9°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#5E1460
RGBrgb(94, 20, 96)
HSLhsl(298, 66%, 23%)
HSVhsv(298, 79%, 38%)
CMYKcmyk(2.1%, 79.2%, 0%, 62.4%)
CIE-LABlab(22.74, 42.37, -27.51)
CIE-LCHlch(22.74, 50.52, 327.00°)
OKLaboklab(35.24% 0.1172 -0.0764)
OKLCHoklch(35.24% 0.14 326.9)
XYZxyz(6.9775, 3.7250, 11.4156)
Luminance0.0372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1460 #166014
analogous
#381460 #5E1460 #60143C
triadic
#5E1460 #605E14 #14605E
tetradic
#5E1460 #603814 #166014 #143C60
square
#5E1460 #603814 #166014 #143C60
split-complementary
#5E1460 #3C6014 #146038
monochromatic
#190519 #2C092D #5E1460 #901F93 #C129C5

Accessibility & contrast

On white

12.03
#5E1460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1460
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1460#FFFFFF#000000##FFFFFF
##5E14601.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013062
Deuteranopia (green-blind)
#27395E
Tritanopia (blue-blind)
#612139
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5e1460;
/* rgb */ color: rgb(94, 20, 96);
/* oklch */ color: oklch(35.2% 0.140 326.9);
Tailwind
colors: {
  custom: {
    50: '#8f5b8d',
    500: '#5e1460',
    950: '#000000',
  },
}
SCSS
$custom: #5e1460;
$custom-light: #8f5b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1460",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 96
  },
  "hsl": {
    "h": 298.421,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.35243,
    "c": 0.13988,
    "h": 326.9
  },
  "luminance": 0.03725
}

Semantic roles & 50–950 ramp

primary
#5E1460
secondary
#3B9838
accent
#E83F44
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E1460

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

Preview Lab → · Contrast checker → · Palette generator →

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