#5D1081#5D1081

#5D1081 is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.3% C 0.173 H 311.1°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#5D1081
RGBrgb(93, 16, 129)
HSLhsl(281, 78%, 28%)
HSVhsv(281, 88%, 51%)
CMYKcmyk(27.9%, 87.6%, 0%, 49.4%)
CIE-LABlab(24.59, 50.06, -45.83)
CIE-LCHlch(24.59, 67.87, 317.53°)
OKLaboklab(37.28% 0.1135 -0.1301)
OKLCHoklch(37.28% 0.173 311.1)
XYZxyz(8.6612, 4.2829, 21.1351)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1081 #348110
analogous
#241081 #5D1081 #81106C
triadic
#5D1081 #815D10 #10815D
tetradic
#5D1081 #812410 #348110 #106C81
square
#5D1081 #812410 #348110 #106C81
split-complementary
#5D1081 #6C8110 #108124
monochromatic
#14031B #36094B #5D1081 #8417B7 #A827E4

Accessibility & contrast

On white

11.31
#5D1081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#5D1081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1081
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1081#FFFFFF#000000##FFFFFF
##5D10811.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003784
Deuteranopia (green-blind)
#003C7F
Tritanopia (blue-blind)
#582F4B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5d1081;
/* rgb */ color: rgb(93, 16, 129);
/* oklch */ color: oklch(37.3% 0.173 311.1);
Tailwind
colors: {
  custom: {
    50: '#905ba6',
    500: '#5d1081',
    950: '#000000',
  },
}
SCSS
$custom: #5d1081;
$custom-light: #905ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1081",
  "rgb": {
    "r": 93,
    "g": 16,
    "b": 129
  },
  "hsl": {
    "h": 280.885,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.37281,
    "c": 0.17264,
    "h": 311.1
  },
  "luminance": 0.04283
}

Semantic roles & 50–950 ramp

primary
#5D1081
secondary
#5FB736
accent
#F43371
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D040F
muted
#7E797F

Preview Lab

Preview with #5D1081

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

Preview Lab → · Contrast checker → · Palette generator →

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