#5E105B#5E105B

#5E105B is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.6% C 0.140 H 329.8°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#5E105B
RGBrgb(94, 16, 91)
HSLhsl(302, 71%, 22%)
HSVhsv(302, 83%, 37%)
CMYKcmyk(0%, 83%, 3.2%, 63.1%)
CIE-LABlab(21.97, 42.79, -25.43)
CIE-LCHlch(21.97, 49.78, 329.28°)
OKLaboklab(34.59% 0.121 -0.0703)
OKLCHoklch(34.59% 0.14 329.8)
XYZxyz(6.6897, 3.5061, 10.2199)
Luminance0.0351 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E105B #105E13
analogous
#3A105E #5E105B #5E1034
triadic
#5E105B #5B5E10 #105B5E
tetradic
#5E105B #5E3A10 #105E13 #10345E
square
#5E105B #5E3A10 #105E13 #10345E
split-complementary
#5E105B #345E10 #105E3A
monochromatic
#1A0419 #2A0728 #5E105B #92198E #C722C0

Accessibility & contrast

On white

12.34
#5E105B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E105B
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E105B#FFFFFF#000000##FFFFFF
##5E105B1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042E5D
Deuteranopia (green-blind)
#293859
Tritanopia (blue-blind)
#621C35
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e105b;
/* rgb */ color: rgb(94, 16, 91);
/* oklch */ color: oklch(34.6% 0.140 329.8);
Tailwind
colors: {
  custom: {
    50: '#8f598a',
    500: '#5e105b',
    950: '#000000',
  },
}
SCSS
$custom: #5e105b;
$custom-light: #8f598a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e105b",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 91
  },
  "hsl": {
    "h": 302.308,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.34589,
    "c": 0.13996,
    "h": 329.8
  },
  "luminance": 0.03506
}

Semantic roles & 50–950 ramp

primary
#5E105B
secondary
#339737
accent
#EE413A
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E105B

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

Preview Lab → · Contrast checker → · Palette generator →

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