#5D1083#5D1083

#5D1083 is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.5% C 0.174 H 310.3°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#5D1083
RGBrgb(93, 16, 131)
HSLhsl(280, 78%, 29%)
HSVhsv(280, 88%, 51%)
CMYKcmyk(29%, 87.8%, 0%, 48.6%)
CIE-LABlab(24.75, 50.49, -46.81)
CIE-LCHlch(24.75, 68.85, 317.17°)
OKLaboklab(37.45% 0.1129 -0.133)
OKLCHoklch(37.45% 0.174 310.3)
XYZxyz(8.7954, 4.3366, 21.8421)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1083 #368310
analogous
#241083 #5D1083 #831070
triadic
#5D1083 #835D10 #10835D
tetradic
#5D1083 #832410 #368310 #107083
square
#5D1083 #832410 #368310 #107083
split-complementary
#5D1083 #708310 #108324
monochromatic
#13031B #36094C #5D1083 #8417BA #A729E5

Accessibility & contrast

On white

11.25
#5D1083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1083
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1083#FFFFFF#000000##FFFFFF
##5D10831.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003C81
Tritanopia (blue-blind)
#58304C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5d1083;
/* rgb */ color: rgb(93, 16, 131);
/* oklch */ color: oklch(37.5% 0.174 310.3);
Tailwind
colors: {
  custom: {
    50: '#905ba8',
    500: '#5d1083',
    950: '#000000',
  },
}
SCSS
$custom: #5d1083;
$custom-light: #905ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1083",
  "rgb": {
    "r": 93,
    "g": 16,
    "b": 131
  },
  "hsl": {
    "h": 280.174,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37451,
    "c": 0.17445,
    "h": 310.3
  },
  "luminance": 0.04336
}

Semantic roles & 50–950 ramp

primary
#5D1083
secondary
#61B936
accent
#F53373
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0410
muted
#7E797F

Preview Lab

Preview with #5D1083

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

Preview Lab → · Contrast checker → · Palette generator →

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