#5D116F#5D116F

#5D116F is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.9% C 0.156 H 318.7°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#5D116F
RGBrgb(93, 17, 111)
HSLhsl(289, 73%, 25%)
HSVhsv(289, 85%, 44%)
CMYKcmyk(16.2%, 84.7%, 0%, 56.5%)
CIE-LABlab(23.26, 46.04, -36.48)
CIE-LCHlch(23.26, 58.74, 321.60°)
OKLaboklab(35.91% 0.117 -0.1026)
OKLCHoklch(35.91% 0.156 318.7)
XYZxyz(7.5835, 3.8761, 15.3846)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D116F #236F11
analogous
#2E116F #5D116F #6F1152
triadic
#5D116F #6F5D11 #116F5D
tetradic
#5D116F #6F2E11 #236F11 #11526F
square
#5D116F #6F2E11 #236F11 #11526F
split-complementary
#5D116F #526F11 #116F2E
monochromatic
#16041B #31093A #5D116F #8919A4 #B621D9

Accessibility & contrast

On white

11.83
#5D116F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5D116F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D116F
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D116F#FFFFFF#000000##FFFFFF
##5D116F1.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#173A6D
Tritanopia (blue-blind)
#5D2741
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5d116f;
/* rgb */ color: rgb(93, 17, 111);
/* oklch */ color: oklch(35.9% 0.156 318.7);
Tailwind
colors: {
  custom: {
    50: '#8e5a99',
    500: '#5d116f',
    950: '#000000',
  },
}
SCSS
$custom: #5d116f;
$custom-light: #8e5a99;
$custom-dark: #000000;
JSON
{
  "hex": "#5d116f",
  "rgb": {
    "r": 93,
    "g": 17,
    "b": 111
  },
  "hsl": {
    "h": 288.511,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35905,
    "c": 0.15566,
    "h": 318.7
  },
  "luminance": 0.03876
}

Semantic roles & 50–950 ramp

primary
#5D116F
secondary
#4BA635
accent
#F0385B
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5D116F

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

Preview Lab → · Contrast checker → · Palette generator →

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