#5E1D75#5E1D75

#5E1D75 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.6% C 0.149 H 315.6°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#5E1D75
RGBrgb(94, 29, 117)
HSLhsl(284, 60%, 29%)
HSVhsv(284, 75%, 46%)
CMYKcmyk(19.7%, 75.2%, 0%, 54.1%)
CIE-LABlab(25.39, 43.11, -36.89)
CIE-LCHlch(25.39, 56.74, 319.45°)
OKLaboklab(37.59% 0.1062 -0.1039)
OKLCHoklch(37.59% 0.149 315.6)
XYZxyz(8.2658, 4.5431, 17.2677)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1D75 #34751D
analogous
#321D75 #5E1D75 #751D60
triadic
#5E1D75 #755E1D #1D755E
tetradic
#5E1D75 #75321D #34751D #1D6075
square
#5E1D75 #75321D #34751D #1D6075
split-complementary
#5E1D75 #60751D #1D7532
monochromatic
#140619 #371144 #5E1D75 #8529A6 #A93DCF

Accessibility & contrast

On white

11.00
#5E1D75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1D75
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1D75#FFFFFF#000000##FFFFFF
##5E1D751.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003877
Deuteranopia (green-blind)
#1B3E73
Tritanopia (blue-blind)
#5C2F47
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5e1d75;
/* rgb */ color: rgb(94, 29, 117);
/* oklch */ color: oklch(37.6% 0.149 315.6);
Tailwind
colors: {
  custom: {
    50: '#8f609d',
    500: '#5e1d75',
    950: '#000000',
  },
}
SCSS
$custom: #5e1d75;
$custom-light: #8f609d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1d75",
  "rgb": {
    "r": 94,
    "g": 29,
    "b": 117
  },
  "hsl": {
    "h": 284.318,
    "s": 60.274,
    "l": 28.627
  },
  "oklch": {
    "l": 0.37587,
    "c": 0.14856,
    "h": 315.6
  },
  "luminance": 0.04543
}

Semantic roles & 50–950 ramp

primary
#5E1D75
secondary
#5FA945
accent
#E3446E
background
#F9F5F9
surface
#F1EAF2
border
#CBC6CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #5E1D75

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

Preview Lab → · Contrast checker → · Palette generator →

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