#5D1380#5D1380

#5D1380 is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.4% C 0.169 H 311.3°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#5D1380
RGBrgb(93, 19, 128)
HSLhsl(281, 74%, 29%)
HSVhsv(281, 85%, 50%)
CMYKcmyk(27.3%, 85.2%, 0%, 49.8%)
CIE-LABlab(24.80, 48.97, -44.84)
CIE-LCHlch(24.80, 66.40, 317.52°)
OKLaboklab(37.41% 0.1117 -0.1272)
OKLCHoklch(37.41% 0.169 311.3)
XYZxyz(8.6426, 4.3516, 20.8026)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1380 #368013
analogous
#271380 #5D1380 #80136D
triadic
#5D1380 #805D13 #13805D
tetradic
#5D1380 #802713 #368013 #136D80
square
#5D1380 #802713 #368013 #136D80
split-complementary
#5D1380 #6D8013 #138027
monochromatic
#13041B #360B4B #5D1380 #841BB5 #A72DE0

Accessibility & contrast

On white

11.23
#5D1380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#5D1380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1380
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1380#FFFFFF#000000##FFFFFF
##5D13801.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003883
Deuteranopia (green-blind)
#003C7E
Tritanopia (blue-blind)
#58304B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5d1380;
/* rgb */ color: rgb(93, 19, 128);
/* oklch */ color: oklch(37.4% 0.169 311.3);
Tailwind
colors: {
  custom: {
    50: '#8f5ca6',
    500: '#5d1380',
    950: '#000000',
  },
}
SCSS
$custom: #5d1380;
$custom-light: #8f5ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1380",
  "rgb": {
    "r": 93,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 280.734,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37405,
    "c": 0.1693,
    "h": 311.3
  },
  "luminance": 0.04351
}

Semantic roles & 50–950 ramp

primary
#5D1380
secondary
#61B539
accent
#F13773
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #5D1380

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

Preview Lab → · Contrast checker → · Palette generator →

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