#5D115E#5D115E

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

Color values

HEX#5D115E
RGBrgb(93, 17, 94)
HSLhsl(299, 69%, 22%)
HSVhsv(299, 82%, 37%)
CMYKcmyk(1.1%, 81.9%, 0%, 63.1%)
CIE-LABlab(22.08, 42.78, -27.26)
CIE-LCHlch(22.08, 50.73, 327.49°)
OKLaboklab(34.69% 0.1189 -0.0757)
OKLCHoklch(34.69% 0.141 327.5)
XYZxyz(6.7349, 3.5367, 10.9154)
Luminance0.0354 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D115E #125E11
analogous
#37115E #5D115E #5E1139
triadic
#5D115E #5E5D11 #115E5D
tetradic
#5D115E #5E3711 #125E11 #11395E
square
#5D115E #5E3711 #125E11 #11395E
split-complementary
#5D115E #395E11 #115E37
monochromatic
#1A051A #2A082A #5D115E #901A92 #C424C6

Accessibility & contrast

On white

12.30
#5D115E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5D115E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D115E
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D115E#FFFFFF#000000##FFFFFF
##5D115E1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F60
Deuteranopia (green-blind)
#26385C
Tritanopia (blue-blind)
#601E37
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5d115e;
/* rgb */ color: rgb(93, 17, 94);
/* oklch */ color: oklch(34.7% 0.141 327.5);
Tailwind
colors: {
  custom: {
    50: '#8e5a8c',
    500: '#5d115e',
    950: '#000000',
  },
}
SCSS
$custom: #5d115e;
$custom-light: #8e5a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d115e",
  "rgb": {
    "r": 93,
    "g": 17,
    "b": 94
  },
  "hsl": {
    "h": 299.221,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.34693,
    "c": 0.14091,
    "h": 327.5
  },
  "luminance": 0.03536
}

Semantic roles & 50–950 ramp

primary
#5D115E
secondary
#359734
accent
#EC3C3E
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5D115E

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

Preview Lab → · Contrast checker → · Palette generator →

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