#5D1051#5D1051

#5D1051 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.8% C 0.131 H 335.4°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#5D1051
RGBrgb(93, 16, 81)
HSLhsl(309, 71%, 21%)
HSVhsv(309, 83%, 36%)
CMYKcmyk(0%, 82.8%, 12.9%, 63.5%)
CIE-LABlab(21.18, 40.86, -19.99)
CIE-LCHlch(21.18, 45.48, 333.93°)
OKLaboklab(33.8% 0.1196 -0.0546)
OKLCHoklch(33.8% 0.131 335.4)
XYZxyz(6.1848, 3.2924, 8.0928)
Luminance0.0329 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1051 #105D1C
analogous
#43105D #5D1051 #5D102B
triadic
#5D1051 #515D10 #10515D
tetradic
#5D1051 #5D4310 #105D1C #102B5D
square
#5D1051 #5D4310 #105D1C #102B5D
split-complementary
#5D1051 #2B5D10 #105D43
monochromatic
#1A0417 #290724 #5D1051 #91197E #C522AC

Accessibility & contrast

On white

12.66
#5D1051 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5D1051 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1051
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1051#FFFFFF#000000##FFFFFF
##5D10511.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102C53
Deuteranopia (green-blind)
#2D374F
Tritanopia (blue-blind)
#621730
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d1051;
/* rgb */ color: rgb(93, 16, 81);
/* oklch */ color: oklch(33.8% 0.131 335.4);
Tailwind
colors: {
  custom: {
    50: '#8e5982',
    500: '#5d1051',
    950: '#000000',
  },
}
SCSS
$custom: #5d1051;
$custom-light: #8e5982;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1051",
  "rgb": {
    "r": 93,
    "g": 16,
    "b": 81
  },
  "hsl": {
    "h": 309.351,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33797,
    "c": 0.13146,
    "h": 335.4
  },
  "luminance": 0.03292
}

Semantic roles & 50–950 ramp

primary
#5D1051
secondary
#339642
accent
#ED563A
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5D1051

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

Preview Lab → · Contrast checker → · Palette generator →

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