#5E1B60#5E1B60

#5E1B60 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 35.9% C 0.131 H 326.7°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#5E1B60
RGBrgb(94, 27, 96)
HSLhsl(298, 56%, 24%)
HSVhsv(298, 72%, 38%)
CMYKcmyk(2.1%, 71.9%, 0%, 62.4%)
CIE-LABlab(23.70, 39.65, -25.99)
CIE-LCHlch(23.70, 47.41, 326.76°)
OKLaboklab(35.93% 0.1095 -0.072)
OKLCHoklch(35.93% 0.131 326.7)
XYZxyz(7.1192, 4.0085, 11.4628)
Luminance0.0401 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1B60 #1D601B
analogous
#3C1B60 #5E1B60 #601B40
triadic
#5E1B60 #605E1B #1B605E
tetradic
#5E1B60 #603C1B #1D601B #1B4060
square
#5E1B60 #603C1B #1D601B #1B4060
split-complementary
#5E1B60 #40601B #1B603C
monochromatic
#170718 #2F0E30 #5E1B60 #8D2890 #BC36C0

Accessibility & contrast

On white

11.66
#5E1B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#5E1B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1B60
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1B60#FFFFFF#000000##FFFFFF
##5E1B601.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3362
Deuteranopia (green-blind)
#2B3B5E
Tritanopia (blue-blind)
#61253B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5e1b60;
/* rgb */ color: rgb(94, 27, 96);
/* oklch */ color: oklch(35.9% 0.131 326.7);
Tailwind
colors: {
  custom: {
    50: '#8e5e8d',
    500: '#5e1b60',
    950: '#000000',
  },
}
SCSS
$custom: #5e1b60;
$custom-light: #8e5e8d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1b60",
  "rgb": {
    "r": 94,
    "g": 27,
    "b": 96
  },
  "hsl": {
    "h": 298.261,
    "s": 56.098,
    "l": 24.118
  },
  "oklch": {
    "l": 0.3593,
    "c": 0.13108,
    "h": 326.7
  },
  "luminance": 0.04008
}

Semantic roles & 50–950 ramp

primary
#5E1B60
secondary
#449641
accent
#DF484D
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D050C
muted
#7D797D

Preview Lab

Preview with #5E1B60

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

Preview Lab → · Contrast checker → · Palette generator →

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