#5E105C#5E105C

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

Color values

HEX#5E105C
RGBrgb(94, 16, 92)
HSLhsl(302, 71%, 22%)
HSVhsv(302, 83%, 37%)
CMYKcmyk(0%, 83%, 2.1%, 63.1%)
CIE-LABlab(22.03, 42.97, -26.00)
CIE-LCHlch(22.03, 50.22, 328.82°)
OKLaboklab(34.65% 0.121 -0.072)
OKLCHoklch(34.65% 0.141 329.3)
XYZxyz(6.7331, 3.5235, 10.4486)
Luminance0.0352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E105C #105E12
analogous
#39105E #5E105C #5E1035
triadic
#5E105C #5C5E10 #105C5E
tetradic
#5E105C #5E3910 #105E12 #10355E
square
#5E105C #5E3910 #105E12 #10355E
split-complementary
#5E105C #355E10 #105E39
monochromatic
#1A041A #2A0729 #5E105C #92198F #C722C2

Accessibility & contrast

On white

12.32
#5E105C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5E105C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E105C
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E105C#FFFFFF#000000##FFFFFF
##5E105C1.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022E5E
Deuteranopia (green-blind)
#28385A
Tritanopia (blue-blind)
#621C36
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e105c;
/* rgb */ color: rgb(94, 16, 92);
/* oklch */ color: oklch(34.7% 0.141 329.3);
Tailwind
colors: {
  custom: {
    50: '#8f598a',
    500: '#5e105c',
    950: '#000000',
  },
}
SCSS
$custom: #5e105c;
$custom-light: #8f598a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e105c",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 92
  },
  "hsl": {
    "h": 301.538,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.34654,
    "c": 0.14079,
    "h": 329.3
  },
  "luminance": 0.03523
}

Semantic roles & 50–950 ramp

primary
#5E105C
secondary
#339735
accent
#EE3F3A
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E105C

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

Preview Lab → · Contrast checker → · Palette generator →

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