#5D1E77#5D1E77

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

Color values

HEX#5D1E77
RGBrgb(93, 30, 119)
HSLhsl(282, 60%, 29%)
HSVhsv(282, 75%, 47%)
CMYKcmyk(21.8%, 74.8%, 0%, 53.3%)
CIE-LABlab(25.53, 42.90, -37.96)
CIE-LCHlch(25.53, 57.28, 318.50°)
OKLaboklab(37.7% 0.1035 -0.1071)
OKLCHoklch(37.7% 0.149 314)
XYZxyz(8.3077, 4.5879, 17.8971)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1E77 #38771E
analogous
#311E77 #5D1E77 #771E65
triadic
#5D1E77 #775D1E #1E775D
tetradic
#5D1E77 #77311E #38771E #1E6577
square
#5D1E77 #77311E #38771E #1E6577
split-complementary
#5D1E77 #65771E #1E7731
monochromatic
#130618 #371246 #5D1E77 #832AA8 #A540CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D1E77#FFFFFF#000000##FFFFFF
##5D1E771.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)
#00397A
Deuteranopia (green-blind)
#183E75
Tritanopia (blue-blind)
#5B3148
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5d1e77;
/* rgb */ color: rgb(93, 30, 119);
/* oklch */ color: oklch(37.7% 0.149 314.0);
Tailwind
colors: {
  custom: {
    50: '#8e609f',
    500: '#5d1e77',
    950: '#000000',
  },
}
SCSS
$custom: #5d1e77;
$custom-light: #8e609f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1e77",
  "rgb": {
    "r": 93,
    "g": 30,
    "b": 119
  },
  "hsl": {
    "h": 282.472,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37697,
    "c": 0.14891,
    "h": 314
  },
  "luminance": 0.04588
}

Semantic roles & 50–950 ramp

primary
#5D1E77
secondary
#63AB46
accent
#E34573
background
#F9F5F9
surface
#F1EAF2
border
#CBC6CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #5D1E77

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

Preview Lab → · Contrast checker → · Palette generator →

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