#5D1E79#5D1E79

#5D1E79 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.8% C 0.151 H 313.2°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#5D1E79
RGBrgb(93, 30, 121)
HSLhsl(282, 60%, 30%)
HSVhsv(282, 75%, 47%)
CMYKcmyk(23.1%, 75.2%, 0%, 52.5%)
CIE-LABlab(25.67, 43.35, -39.00)
CIE-LCHlch(25.67, 58.31, 318.03°)
OKLaboklab(37.85% 0.1032 -0.1101)
OKLCHoklch(37.85% 0.151 313.2)
XYZxyz(8.4291, 4.6364, 18.5364)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1E79 #3A791E
analogous
#2F1E79 #5D1E79 #791E68
triadic
#5D1E79 #795D1E #1E795D
tetradic
#5D1E79 #792F1E #3A791E #1E6879
square
#5D1E79 #792F1E #3A791E #1E6879
split-complementary
#5D1E79 #68791E #1E792F
monochromatic
#130619 #371248 #5D1E79 #832AAA #A441D0

Accessibility & contrast

On white

10.90
#5D1E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#5D1E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1E79
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1E79#FFFFFF#000000##FFFFFF
##5D1E791.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7C
Deuteranopia (green-blind)
#163E77
Tritanopia (blue-blind)
#5A324A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5d1e79;
/* rgb */ color: rgb(93, 30, 121);
/* oklch */ color: oklch(37.8% 0.151 313.2);
Tailwind
colors: {
  custom: {
    50: '#8e60a0',
    500: '#5d1e79',
    950: '#000000',
  },
}
SCSS
$custom: #5d1e79;
$custom-light: #8e60a0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1e79",
  "rgb": {
    "r": 93,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 281.538,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37847,
    "c": 0.15093,
    "h": 313.2
  },
  "luminance": 0.04636
}

Semantic roles & 50–950 ramp

primary
#5D1E79
secondary
#66AD46
accent
#E34475
background
#F9F5F9
surface
#F1EAF2
border
#CBC6CC
text
#0D050F
muted
#7E797E

Preview Lab

Preview with #5D1E79

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

Preview Lab → · Contrast checker → · Palette generator →

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