#5E105A#5E105A

#5E105A is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.5% C 0.139 H 330.4°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#5E105A
RGBrgb(94, 16, 90)
HSLhsl(303, 71%, 22%)
HSVhsv(303, 83%, 37%)
CMYKcmyk(0%, 83%, 4.3%, 63.1%)
CIE-LABlab(21.90, 42.62, -24.87)
CIE-LCHlch(21.90, 49.34, 329.74°)
OKLaboklab(34.53% 0.121 -0.0687)
OKLCHoklch(34.53% 0.139 330.4)
XYZxyz(6.6468, 3.4890, 9.9942)
Luminance0.0349 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E105A #105E14
analogous
#3B105E #5E105A #5E1033
triadic
#5E105A #5A5E10 #105A5E
tetradic
#5E105A #5E3B10 #105E14 #10335E
square
#5E105A #5E3B10 #105E14 #10335E
split-complementary
#5E105A #335E10 #105E3B
monochromatic
#1A0419 #2A0728 #5E105A #92198C #C722BE

Accessibility & contrast

On white

12.37
#5E105A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E105A
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E105A#FFFFFF#000000##FFFFFF
##5E105A1.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052E5C
Deuteranopia (green-blind)
#293858
Tritanopia (blue-blind)
#621B35
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e105a;
/* rgb */ color: rgb(94, 16, 90);
/* oklch */ color: oklch(34.5% 0.139 330.4);
Tailwind
colors: {
  custom: {
    50: '#8f5989',
    500: '#5e105a',
    950: '#000000',
  },
}
SCSS
$custom: #5e105a;
$custom-light: #8f5989;
$custom-dark: #000000;
JSON
{
  "hex": "#5e105a",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 90
  },
  "hsl": {
    "h": 303.077,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.34525,
    "c": 0.13915,
    "h": 330.4
  },
  "luminance": 0.03488
}

Semantic roles & 50–950 ramp

primary
#5E105A
secondary
#339738
accent
#EE433A
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E105A

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

Preview Lab → · Contrast checker → · Palette generator →

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