#5E0D55#5E0D55

#5E0D55 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 34.0% C 0.138 H 333.4°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#5E0D55
RGBrgb(94, 13, 85)
HSLhsl(307, 76%, 21%)
HSVhsv(307, 86%, 37%)
CMYKcmyk(0%, 86.2%, 9.6%, 63.1%)
CIE-LABlab(21.30, 42.65, -22.48)
CIE-LCHlch(21.30, 48.21, 332.20°)
OKLaboklab(33.99% 0.1235 -0.0618)
OKLCHoklch(33.99% 0.138 333.4)
XYZxyz(6.3998, 3.3240, 8.8971)
Luminance0.0332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E0D55 #0D5E16
analogous
#3E0D5E #5E0D55 #5E0D2C
triadic
#5E0D55 #555E0D #0D555E
tetradic
#5E0D55 #5E3E0D #0D5E16 #0D2C5E
square
#5E0D55 #5E3E0D #0D5E16 #0D2C5E
split-complementary
#5E0D55 #2C5E0D #0D5E3E
monochromatic
#1B0418 #280624 #5E0D55 #941486 #CA1CB6

Accessibility & contrast

On white

12.62
#5E0D55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5E0D55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E0D55
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E0D55#FFFFFF#000000##FFFFFF
##5E0D551.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092C57
Deuteranopia (green-blind)
#2B3753
Tritanopia (blue-blind)
#631731
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e0d55;
/* rgb */ color: rgb(94, 13, 85);
/* oklch */ color: oklch(34.0% 0.138 333.4);
Tailwind
colors: {
  custom: {
    50: '#8f5885',
    500: '#5e0d55',
    950: '#000000',
  },
}
SCSS
$custom: #5e0d55;
$custom-light: #8f5885;
$custom-dark: #000000;
JSON
{
  "hex": "#5e0d55",
  "rgb": {
    "r": 94,
    "g": 13,
    "b": 85
  },
  "hsl": {
    "h": 306.667,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33994,
    "c": 0.13809,
    "h": 333.4
  },
  "luminance": 0.03323
}

Semantic roles & 50–950 ramp

primary
#5E0D55
secondary
#2F983A
accent
#F24A36
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E0D55

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

Preview Lab → · Contrast checker → · Palette generator →

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