#5E1081#5E1081

#5E1081 is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.4% C 0.173 H 311.6°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#5E1081
RGBrgb(94, 16, 129)
HSLhsl(281, 78%, 28%)
HSVhsv(281, 88%, 51%)
CMYKcmyk(27.1%, 87.6%, 0%, 49.4%)
CIE-LABlab(24.75, 50.23, -45.55)
CIE-LCHlch(24.75, 67.81, 317.80°)
OKLaboklab(37.43% 0.1149 -0.1292)
OKLCHoklch(37.43% 0.173 311.6)
XYZxyz(8.7631, 4.3355, 21.1398)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1081 #338110
analogous
#251081 #5E1081 #81106B
triadic
#5E1081 #815E10 #10815E
tetradic
#5E1081 #812510 #338110 #106B81
square
#5E1081 #812510 #338110 #106B81
split-complementary
#5E1081 #6B8110 #108125
monochromatic
#14031B #36094B #5E1081 #8617B7 #AA27E4

Accessibility & contrast

On white

11.25
#5E1081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#5E1081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1081
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1081#FFFFFF#000000##FFFFFF
##5E10811.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003784
Deuteranopia (green-blind)
#003C7F
Tritanopia (blue-blind)
#592F4B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5e1081;
/* rgb */ color: rgb(94, 16, 129);
/* oklch */ color: oklch(37.4% 0.173 311.6);
Tailwind
colors: {
  custom: {
    50: '#905ba6',
    500: '#5e1081',
    950: '#000000',
  },
}
SCSS
$custom: #5e1081;
$custom-light: #905ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1081",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 129
  },
  "hsl": {
    "h": 281.416,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.37429,
    "c": 0.17294,
    "h": 311.6
  },
  "luminance": 0.04335
}

Semantic roles & 50–950 ramp

primary
#5E1081
secondary
#5EB736
accent
#F4336F
background
#F9F5FA
surface
#F2E9F4
border
#CCC5CE
text
#0D040F
muted
#7E797F

Preview Lab

Preview with #5E1081

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

Preview Lab → · Contrast checker → · Palette generator →

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