#5E1E7D#5E1E7D

#5E1E7D is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.3% C 0.155 H 312.0°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#5E1E7D
RGBrgb(94, 30, 125)
HSLhsl(280, 61%, 30%)
HSVhsv(280, 76%, 49%)
CMYKcmyk(24.8%, 76%, 0%, 51%)
CIE-LABlab(26.13, 44.46, -40.79)
CIE-LCHlch(26.13, 60.34, 317.46°)
OKLaboklab(38.29% 0.104 -0.1153)
OKLCHoklch(38.29% 0.155 312)
XYZxyz(8.7814, 4.7891, 19.8599)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1E7D #3D7D1E
analogous
#2E1E7D #5E1E7D #7D1E6C
triadic
#5E1E7D #7D5E1E #1E7D5E
tetradic
#5E1E7D #7D2E1E #3D7D1E #1E6C7D
square
#5E1E7D #7D2E1E #3D7D1E #1E6C7D
split-complementary
#5E1E7D #6C7D1E #1E7D2E
monochromatic
#14061A #39124C #5E1E7D #832AAE #A343D2

Accessibility & contrast

On white

10.73
#5E1E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#5E1E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1E7D
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1E7D#FFFFFF#000000##FFFFFF
##5E1E7D1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#113F7B
Tritanopia (blue-blind)
#5A334C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5e1e7d;
/* rgb */ color: rgb(94, 30, 125);
/* oklch */ color: oklch(38.3% 0.155 312.0);
Tailwind
colors: {
  custom: {
    50: '#8f61a3',
    500: '#5e1e7d',
    950: '#000000',
  },
}
SCSS
$custom: #5e1e7d;
$custom-light: #8f61a3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1e7d",
  "rgb": {
    "r": 94,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 280.421,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38294,
    "c": 0.15533,
    "h": 312
  },
  "luminance": 0.04789
}

Semantic roles & 50–950 ramp

primary
#5E1E7D
secondary
#69B046
accent
#E44378
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #5E1E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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