#5D1D79#5D1D79

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

Color values

HEX#5D1D79
RGBrgb(93, 29, 121)
HSLhsl(282, 61%, 29%)
HSVhsv(282, 76%, 47%)
CMYKcmyk(23.1%, 76%, 0%, 52.5%)
CIE-LABlab(25.52, 43.77, -39.24)
CIE-LCHlch(25.52, 58.79, 318.13°)
OKLaboklab(37.74% 0.1043 -0.1108)
OKLCHoklch(37.74% 0.152 313.3)
XYZxyz(8.4041, 4.5866, 18.5281)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1D79 #39791D
analogous
#2F1D79 #5D1D79 #791D67
triadic
#5D1D79 #795D1D #1D795D
tetradic
#5D1D79 #792F1D #39791D #1D6779
square
#5D1D79 #792F1D #39791D #1D6779
split-complementary
#5D1D79 #67791D #1D792F
monochromatic
#130619 #371148 #5D1D79 #8329AA #A53FD1

Accessibility & contrast

On white

10.95
#5D1D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#5D1D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1D79
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1D79#FFFFFF#000000##FFFFFF
##5D1D791.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#143E77
Tritanopia (blue-blind)
#5A3149
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5d1d79;
/* rgb */ color: rgb(93, 29, 121);
/* oklch */ color: oklch(37.7% 0.152 313.3);
Tailwind
colors: {
  custom: {
    50: '#8e60a0',
    500: '#5d1d79',
    950: '#000000',
  },
}
SCSS
$custom: #5d1d79;
$custom-light: #8e60a0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1d79",
  "rgb": {
    "r": 93,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 281.739,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37741,
    "c": 0.15217,
    "h": 313.3
  },
  "luminance": 0.04586
}

Semantic roles & 50–950 ramp

primary
#5D1D79
secondary
#65AD45
accent
#E44374
background
#F9F5F9
surface
#F1EAF2
border
#CBC6CC
text
#0D050F
muted
#7E797E

Preview Lab

Preview with #5D1D79

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

Preview Lab → · Contrast checker → · Palette generator →

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