#5D0E5A#5D0E5A

#5D0E5A is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.2% C 0.141 H 329.9°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#5D0E5A
RGBrgb(93, 14, 90)
HSLhsl(302, 74%, 21%)
HSVhsv(302, 85%, 36%)
CMYKcmyk(0%, 84.9%, 3.2%, 63.5%)
CIE-LABlab(21.51, 42.98, -25.51)
CIE-LCHlch(21.51, 49.98, 329.31°)
OKLaboklab(34.21% 0.1216 -0.0706)
OKLCHoklch(34.21% 0.141 329.9)
XYZxyz(6.5167, 3.3799, 9.9800)
Luminance0.0338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0E5A #0E5D11
analogous
#380E5D #5D0E5A #5D0E32
triadic
#5D0E5A #5A5D0E #0E5A5D
tetradic
#5D0E5A #5D380E #0E5D11 #0E325D
square
#5D0E5A #5D380E #0E5D11 #0E325D
split-complementary
#5D0E5A #325D0E #0E5D38
monochromatic
#1B041A #280627 #5D0E5A #92168D #C71EC1

Accessibility & contrast

On white

12.53
#5D0E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5D0E5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D0E5A
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0E5A#FFFFFF#000000##FFFFFF
##5D0E5A1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012D5C
Deuteranopia (green-blind)
#273758
Tritanopia (blue-blind)
#611A34
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5d0e5a;
/* rgb */ color: rgb(93, 14, 90);
/* oklch */ color: oklch(34.2% 0.141 329.9);
Tailwind
colors: {
  custom: {
    50: '#8e5889',
    500: '#5d0e5a',
    950: '#000000',
  },
}
SCSS
$custom: #5d0e5a;
$custom-light: #8e5889;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0e5a",
  "rgb": {
    "r": 93,
    "g": 14,
    "b": 90
  },
  "hsl": {
    "h": 302.278,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.34205,
    "c": 0.14059,
    "h": 329.9
  },
  "luminance": 0.03379
}

Semantic roles & 50–950 ramp

primary
#5D0E5A
secondary
#309734
accent
#F03E37
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5D0E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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