#5E0D5A#5E0D5A

#5E0D5A is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.3% C 0.142 H 330.4°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#5E0D5A
RGBrgb(94, 13, 90)
HSLhsl(303, 76%, 21%)
HSVhsv(303, 86%, 37%)
CMYKcmyk(0%, 86.2%, 4.3%, 63.1%)
CIE-LABlab(21.60, 43.49, -25.34)
CIE-LCHlch(21.60, 50.34, 329.77°)
OKLaboklab(34.31% 0.1235 -0.07)
OKLCHoklch(34.31% 0.142 330.4)
XYZxyz(6.6055, 3.4063, 9.9805)
Luminance0.0341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E0D5A #0D5E11
analogous
#390D5E #5E0D5A #5E0D31
triadic
#5E0D5A #5A5E0D #0D5A5E
tetradic
#5E0D5A #5E390D #0D5E11 #0D315E
square
#5E0D5A #5E390D #0D5E11 #0D315E
split-complementary
#5E0D5A #315E0D #0D5E39
monochromatic
#1B041A #280627 #5E0D5A #94148D #CA1CC1

Accessibility & contrast

On white

12.49
#5E0D5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5E0D5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E0D5A
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E0D5A#FFFFFF#000000##FFFFFF
##5E0D5A1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012D5C
Deuteranopia (green-blind)
#283858
Tritanopia (blue-blind)
#621A34
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e0d5a;
/* rgb */ color: rgb(94, 13, 90);
/* oklch */ color: oklch(34.3% 0.142 330.4);
Tailwind
colors: {
  custom: {
    50: '#8f5889',
    500: '#5e0d5a',
    950: '#000000',
  },
}
SCSS
$custom: #5e0d5a;
$custom-light: #8f5889;
$custom-dark: #000000;
JSON
{
  "hex": "#5e0d5a",
  "rgb": {
    "r": 94,
    "g": 13,
    "b": 90
  },
  "hsl": {
    "h": 302.963,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3431,
    "c": 0.14201,
    "h": 330.4
  },
  "luminance": 0.03406
}

Semantic roles & 50–950 ramp

primary
#5E0D5A
secondary
#2F9834
accent
#F23F36
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E0D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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