#5D0E52#5D0E52

#5D0E52 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.7% C 0.134 H 334.8°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#5D0E52
RGBrgb(93, 14, 82)
HSLhsl(308, 74%, 21%)
HSVhsv(308, 85%, 36%)
CMYKcmyk(0%, 84.9%, 11.8%, 63.5%)
CIE-LABlab(21.02, 41.63, -20.91)
CIE-LCHlch(21.02, 46.59, 333.33°)
OKLaboklab(33.7% 0.1215 -0.0573)
OKLCHoklch(33.7% 0.134 334.8)
XYZxyz(6.1943, 3.2510, 8.2823)
Luminance0.0325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0E52 #0E5D19
analogous
#400E5D #5D0E52 #5D0E2A
triadic
#5D0E52 #525D0E #0E525D
tetradic
#5D0E52 #5D400E #0E5D19 #0E2A5D
square
#5D0E52 #5D400E #0E5D19 #0E2A5D
split-complementary
#5D0E52 #2A5D0E #0E5D40
monochromatic
#1B0417 #280623 #5D0E52 #921681 #C71EB0

Accessibility & contrast

On white

12.73
#5D0E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5D0E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D0E52
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0E52#FFFFFF#000000##FFFFFF
##5D0E521.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2B54
Deuteranopia (green-blind)
#2C3750
Tritanopia (blue-blind)
#621630
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d0e52;
/* rgb */ color: rgb(93, 14, 82);
/* oklch */ color: oklch(33.7% 0.134 334.8);
Tailwind
colors: {
  custom: {
    50: '#8e5883',
    500: '#5d0e52',
    950: '#000000',
  },
}
SCSS
$custom: #5d0e52;
$custom-light: #8e5883;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0e52",
  "rgb": {
    "r": 93,
    "g": 14,
    "b": 82
  },
  "hsl": {
    "h": 308.354,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33704,
    "c": 0.13427,
    "h": 334.8
  },
  "luminance": 0.0325
}

Semantic roles & 50–950 ramp

primary
#5D0E52
secondary
#30973E
accent
#F05137
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5D0E52

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

Preview Lab → · Contrast checker → · Palette generator →

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