#5D105E#5D105E

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

Color values

HEX#5D105E
RGBrgb(93, 16, 94)
HSLhsl(299, 71%, 22%)
HSVhsv(299, 83%, 37%)
CMYKcmyk(1.1%, 83%, 0%, 63.1%)
CIE-LABlab(21.97, 43.10, -27.43)
CIE-LCHlch(21.97, 51.09, 327.52°)
OKLaboklab(34.62% 0.1198 -0.0762)
OKLCHoklch(34.62% 0.142 327.5)
XYZxyz(6.7198, 3.5064, 10.9104)
Luminance0.0351 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D105E #115E10
analogous
#36105E #5D105E #5E1038
triadic
#5D105E #5E5D10 #105E5D
tetradic
#5D105E #5E3610 #115E10 #10385E
square
#5D105E #5E3610 #115E10 #10385E
split-complementary
#5D105E #385E10 #105E36
monochromatic
#1A041A #29072A #5D105E #911992 #C422C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D105E#FFFFFF#000000##FFFFFF
##5D105E1.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)
#002E60
Deuteranopia (green-blind)
#26385C
Tritanopia (blue-blind)
#601E37
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5d105e;
/* rgb */ color: rgb(93, 16, 94);
/* oklch */ color: oklch(34.6% 0.142 327.5);
Tailwind
colors: {
  custom: {
    50: '#8e598c',
    500: '#5d105e',
    950: '#000000',
  },
}
SCSS
$custom: #5d105e;
$custom-light: #8e598c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d105e",
  "rgb": {
    "r": 93,
    "g": 16,
    "b": 94
  },
  "hsl": {
    "h": 299.231,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.34615,
    "c": 0.14193,
    "h": 327.5
  },
  "luminance": 0.03506
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D105E

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

Preview Lab → · Contrast checker → · Palette generator →

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