#5E105F#5E105F

#5E105F is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.9% C 0.143 H 327.6°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#5E105F
RGBrgb(94, 16, 95)
HSLhsl(299, 71%, 22%)
HSVhsv(299, 83%, 37%)
CMYKcmyk(1.1%, 83.2%, 0%, 62.7%)
CIE-LABlab(22.22, 43.50, -27.68)
CIE-LCHlch(22.22, 51.56, 327.53°)
OKLaboklab(34.85% 0.1209 -0.0769)
OKLCHoklch(34.85% 0.143 327.6)
XYZxyz(6.8668, 3.5770, 11.1530)
Luminance0.0358 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E105F #115F10
analogous
#37105F #5E105F #5F1039
triadic
#5E105F #5F5E10 #105F5E
tetradic
#5E105F #5F3710 #115F10 #10395F
square
#5E105F #5F3710 #115F10 #10395F
split-complementary
#5E105F #395F10 #105F37
monochromatic
#1A041A #2A072B #5E105F #921993 #C622C8

Accessibility & contrast

On white

12.24
#5E105F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5E105F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E105F
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E105F#FFFFFF#000000##FFFFFF
##5E105F1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F61
Deuteranopia (green-blind)
#26395D
Tritanopia (blue-blind)
#611E38
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e105f;
/* rgb */ color: rgb(94, 16, 95);
/* oklch */ color: oklch(34.9% 0.143 327.6);
Tailwind
colors: {
  custom: {
    50: '#8f598d',
    500: '#5e105f',
    950: '#000000',
  },
}
SCSS
$custom: #5e105f;
$custom-light: #8f598d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e105f",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 95
  },
  "hsl": {
    "h": 299.241,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.34852,
    "c": 0.14326,
    "h": 327.6
  },
  "luminance": 0.03576
}

Semantic roles & 50–950 ramp

primary
#5E105F
secondary
#349833
accent
#EE3A3C
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E105F

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

Preview Lab → · Contrast checker → · Palette generator →

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