#5E105E#5E105E

#5E105E is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.8% C 0.142 H 328.1°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#5E105E
RGBrgb(94, 16, 94)
HSLhsl(300, 71%, 22%)
HSVhsv(300, 83%, 37%)
CMYKcmyk(0%, 83%, 0%, 63.1%)
CIE-LABlab(22.16, 43.32, -27.12)
CIE-LCHlch(22.16, 51.11, 327.95°)
OKLaboklab(34.79% 0.1209 -0.0752)
OKLCHoklch(34.79% 0.142 328.1)
XYZxyz(6.8217, 3.5589, 10.9152)
Luminance0.0356 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E105E #105E10
analogous
#37105E #5E105E #5E1037
triadic
#5E105E #5E5E10 #105E5E
tetradic
#5E105E #5E3710 #105E10 #10375E
square
#5E105E #5E3710 #105E10 #10375E
split-complementary
#5E105E #375E10 #105E37
monochromatic
#1A041A #2A072A #5E105E #921992 #C722C7

Accessibility & contrast

On white

12.27
#5E105E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E105E
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E105E#FFFFFF#000000##FFFFFF
##5E105E1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F60
Deuteranopia (green-blind)
#27385C
Tritanopia (blue-blind)
#611D37
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e105e;
/* rgb */ color: rgb(94, 16, 94);
/* oklch */ color: oklch(34.8% 0.142 328.1);
Tailwind
colors: {
  custom: {
    50: '#8f598c',
    500: '#5e105e',
    950: '#000000',
  },
}
SCSS
$custom: #5e105e;
$custom-light: #8f598c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e105e",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 94
  },
  "hsl": {
    "h": 300,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.34786,
    "c": 0.14243,
    "h": 328.1
  },
  "luminance": 0.03558
}

Semantic roles & 50–950 ramp

primary
#5E105E
secondary
#339733
accent
#EE3A3A
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E105E

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

Preview Lab → · Contrast checker → · Palette generator →

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