#5D1076#5D1076

#5D1076 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.4% C 0.163 H 315.6°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#5D1076
RGBrgb(93, 16, 118)
HSLhsl(285, 76%, 26%)
HSVhsv(285, 86%, 46%)
CMYKcmyk(21.2%, 86.4%, 0%, 53.7%)
CIE-LABlab(23.69, 47.75, -40.28)
CIE-LCHlch(23.69, 62.48, 319.85°)
OKLaboklab(36.38% 0.1164 -0.1138)
OKLCHoklch(36.38% 0.163 315.6)
XYZxyz(7.9690, 4.0061, 17.4895)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1076 #297610
analogous
#2A1076 #5D1076 #76105C
triadic
#5D1076 #765D10 #10765D
tetradic
#5D1076 #762A10 #297610 #105C76
square
#5D1076 #762A10 #297610 #105C76
split-complementary
#5D1076 #5C7610 #10762A
monochromatic
#15041B #330940 #5D1076 #8717AC #B120E1

Accessibility & contrast

On white

11.66
#5D1076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#5D1076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1076
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1076#FFFFFF#000000##FFFFFF
##5D10761.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#0B3A74
Tritanopia (blue-blind)
#5B2A45
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5d1076;
/* rgb */ color: rgb(93, 16, 118);
/* oklch */ color: oklch(36.4% 0.163 315.6);
Tailwind
colors: {
  custom: {
    50: '#8f5b9e',
    500: '#5d1076',
    950: '#000000',
  },
}
SCSS
$custom: #5d1076;
$custom-light: #8f5b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1076",
  "rgb": {
    "r": 93,
    "g": 16,
    "b": 118
  },
  "hsl": {
    "h": 285.294,
    "s": 76.119,
    "l": 26.275
  },
  "oklch": {
    "l": 0.36379,
    "c": 0.16276,
    "h": 315.6
  },
  "luminance": 0.04006
}

Semantic roles & 50–950 ramp

primary
#5D1076
secondary
#52AD35
accent
#F33564
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5D1076

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

Preview Lab → · Contrast checker → · Palette generator →

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