#5E105D#5E105D

#5E105D is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.7% C 0.142 H 328.7°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#5E105D
RGBrgb(94, 16, 93)
HSLhsl(301, 71%, 22%)
HSVhsv(301, 83%, 37%)
CMYKcmyk(0%, 83%, 1.1%, 63.1%)
CIE-LABlab(22.09, 43.14, -26.56)
CIE-LCHlch(22.09, 50.66, 328.38°)
OKLaboklab(34.72% 0.121 -0.0736)
OKLCHoklch(34.72% 0.142 328.7)
XYZxyz(6.7771, 3.5411, 10.6804)
Luminance0.0354 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E105D #105E11
analogous
#38105E #5E105D #5E1036
triadic
#5E105D #5D5E10 #105D5E
tetradic
#5E105D #5E3810 #105E11 #10365E
square
#5E105D #5E3810 #105E11 #10365E
split-complementary
#5E105D #365E10 #105E38
monochromatic
#1A041A #2A0729 #5E105D #921991 #C722C4

Accessibility & contrast

On white

12.29
#5E105D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5E105D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E105D
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E105D#FFFFFF#000000##FFFFFF
##5E105D1.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E5F
Deuteranopia (green-blind)
#27385B
Tritanopia (blue-blind)
#611D36
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e105d;
/* rgb */ color: rgb(94, 16, 93);
/* oklch */ color: oklch(34.7% 0.142 328.7);
Tailwind
colors: {
  custom: {
    50: '#8f598b',
    500: '#5e105d',
    950: '#000000',
  },
}
SCSS
$custom: #5e105d;
$custom-light: #8f598b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e105d",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 93
  },
  "hsl": {
    "h": 300.769,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.3472,
    "c": 0.1416,
    "h": 328.7
  },
  "luminance": 0.03541
}

Semantic roles & 50–950 ramp

primary
#5E105D
secondary
#339734
accent
#EE3C3A
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E105D

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

Preview Lab → · Contrast checker → · Palette generator →

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