#5E1D76#5E1D76

#5E1D76 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.7% C 0.150 H 315.2°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#5E1D76
RGBrgb(94, 29, 118)
HSLhsl(284, 61%, 29%)
HSVhsv(284, 75%, 46%)
CMYKcmyk(20.3%, 75.4%, 0%, 53.7%)
CIE-LABlab(25.46, 43.33, -37.42)
CIE-LCHlch(25.46, 57.25, 319.19°)
OKLaboklab(37.66% 0.1061 -0.1054)
OKLCHoklch(37.66% 0.15 315.2)
XYZxyz(8.3249, 4.5667, 17.5790)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1D76 #35761D
analogous
#321D76 #5E1D76 #761D62
triadic
#5E1D76 #765E1D #1D765E
tetradic
#5E1D76 #76321D #35761D #1D6276
square
#5E1D76 #76321D #35761D #1D6276
split-complementary
#5E1D76 #62761D #1D7632
monochromatic
#140619 #371145 #5E1D76 #8529A7 #A83ED0

Accessibility & contrast

On white

10.98
#5E1D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#5E1D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1D76
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1D76#FFFFFF#000000##FFFFFF
##5E1D761.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003979
Deuteranopia (green-blind)
#1A3E74
Tritanopia (blue-blind)
#5C3048
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5e1d76;
/* rgb */ color: rgb(94, 29, 118);
/* oklch */ color: oklch(37.7% 0.150 315.2);
Tailwind
colors: {
  custom: {
    50: '#8f609e',
    500: '#5e1d76',
    950: '#000000',
  },
}
SCSS
$custom: #5e1d76;
$custom-light: #8f609e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1d76",
  "rgb": {
    "r": 94,
    "g": 29,
    "b": 118
  },
  "hsl": {
    "h": 283.82,
    "s": 60.544,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37661,
    "c": 0.14955,
    "h": 315.2
  },
  "luminance": 0.04566
}

Semantic roles & 50–950 ramp

primary
#5E1D76
secondary
#60AA45
accent
#E4446F
background
#F9F5F9
surface
#F1EAF2
border
#CBC6CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #5E1D76

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

Preview Lab → · Contrast checker → · Palette generator →

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