#5E117D#5E117D

#5E117D is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.2% C 0.169 H 313.2°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#5E117D
RGBrgb(94, 17, 125)
HSLhsl(283, 76%, 28%)
HSVhsv(283, 86%, 49%)
CMYKcmyk(24.8%, 86.4%, 0%, 51%)
CIE-LABlab(24.52, 49.10, -43.40)
CIE-LCHlch(24.52, 65.53, 318.53°)
OKLaboklab(37.16% 0.1153 -0.1229)
OKLCHoklch(37.16% 0.169 313.2)
XYZxyz(8.5175, 4.2615, 19.7719)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E117D #307D11
analogous
#28117D #5E117D #7D1166
triadic
#5E117D #7D5E11 #117D5E
tetradic
#5E117D #7D2811 #307D11 #11667D
square
#5E117D #7D2811 #307D11 #11667D
split-complementary
#5E117D #667D11 #117D28
monochromatic
#14041B #350A47 #5E117D #8718B3 #AC27E2

Accessibility & contrast

On white

11.34
#5E117D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#5E117D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E117D
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E117D#FFFFFF#000000##FFFFFF
##5E117D1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#003C7B
Tritanopia (blue-blind)
#5B2D49
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5e117d;
/* rgb */ color: rgb(94, 17, 125);
/* oklch */ color: oklch(37.2% 0.169 313.2);
Tailwind
colors: {
  custom: {
    50: '#905ba3',
    500: '#5e117d',
    950: '#000000',
  },
}
SCSS
$custom: #5e117d;
$custom-light: #905ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e117d",
  "rgb": {
    "r": 94,
    "g": 17,
    "b": 125
  },
  "hsl": {
    "h": 282.778,
    "s": 76.056,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37164,
    "c": 0.16855,
    "h": 313.2
  },
  "luminance": 0.04261
}

Semantic roles & 50–950 ramp

primary
#5E117D
secondary
#5AB337
accent
#F3356C
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D040F
muted
#7E797F

Preview Lab

Preview with #5E117D

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

Preview Lab → · Contrast checker → · Palette generator →

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