#5E1076#5E1076

#5E1076 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.5% C 0.163 H 316.2°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#5E1076
RGBrgb(94, 16, 118)
HSLhsl(286, 76%, 26%)
HSVhsv(286, 86%, 46%)
CMYKcmyk(20.3%, 86.4%, 0%, 53.7%)
CIE-LABlab(23.86, 47.94, -40.00)
CIE-LCHlch(23.86, 62.43, 320.16°)
OKLaboklab(36.53% 0.1177 -0.1129)
OKLCHoklch(36.53% 0.163 316.2)
XYZxyz(8.0709, 4.0586, 17.4943)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1076 #287610
analogous
#2B1076 #5E1076 #76105B
triadic
#5E1076 #765E10 #10765E
tetradic
#5E1076 #762B10 #287610 #105B76
square
#5E1076 #762B10 #287610 #105B76
split-complementary
#5E1076 #5B7610 #10762B
monochromatic
#15041B #330940 #5E1076 #8917AC #B320E1

Accessibility & contrast

On white

11.59
#5E1076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#5E1076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1076
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1076#FFFFFF#000000##FFFFFF
##5E10761.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#0E3B74
Tritanopia (blue-blind)
#5C2A45
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5e1076;
/* rgb */ color: rgb(94, 16, 118);
/* oklch */ color: oklch(36.5% 0.163 316.2);
Tailwind
colors: {
  custom: {
    50: '#905b9e',
    500: '#5e1076',
    950: '#000000',
  },
}
SCSS
$custom: #5e1076;
$custom-light: #905b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1076",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 118
  },
  "hsl": {
    "h": 285.882,
    "s": 76.119,
    "l": 26.275
  },
  "oklch": {
    "l": 0.36534,
    "c": 0.16312,
    "h": 316.2
  },
  "luminance": 0.04058
}

Semantic roles & 50–950 ramp

primary
#5E1076
secondary
#51AD35
accent
#F33562
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5E1076

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

Preview Lab → · Contrast checker → · Palette generator →

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