#5F116A#5F116A

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

Color values

HEX#5F116A
RGBrgb(95, 17, 106)
HSLhsl(293, 72%, 24%)
HSVhsv(293, 84%, 42%)
CMYKcmyk(10.4%, 84%, 0%, 58.4%)
CIE-LABlab(23.25, 45.46, -33.23)
CIE-LCHlch(23.25, 56.31, 323.84°)
OKLaboklab(35.86% 0.1203 -0.093)
OKLCHoklch(35.86% 0.152 322.3)
XYZxyz(7.5210, 3.8748, 13.9846)
Luminance0.0387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F116A #1C6A11
analogous
#33116A #5F116A #6A1149
triadic
#5F116A #6A5F11 #116A5F
tetradic
#5F116A #6A3311 #1C6A11 #11496A
square
#5F116A #6A3311 #1C6A11 #11496A
split-complementary
#5F116A #496A11 #116A33
monochromatic
#18041A #300935 #5F116A #8E199F #BE22D3

Accessibility & contrast

On white

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

On black

1.77
#5F116A on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5F116A#FFFFFF#000000##FFFFFF
##5F116A1.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326C
Deuteranopia (green-blind)
#1F3A68
Tritanopia (blue-blind)
#60243E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5f116a;
/* rgb */ color: rgb(95, 17, 106);
/* oklch */ color: oklch(35.9% 0.152 322.3);
Tailwind
colors: {
  custom: {
    50: '#905a95',
    500: '#5f116a',
    950: '#000000',
  },
}
SCSS
$custom: #5f116a;
$custom-light: #905a95;
$custom-dark: #000000;
JSON
{
  "hex": "#5f116a",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 106
  },
  "hsl": {
    "h": 292.584,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.35857,
    "c": 0.1521,
    "h": 322.3
  },
  "luminance": 0.03874
}

Semantic roles & 50–950 ramp

primary
#5F116A
secondary
#42A235
accent
#EF394F
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5F116A

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

Preview Lab → · Contrast checker → · Palette generator →

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