#5D1060#5D1060

#5D1060 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.8% C 0.144 H 326.4°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#5D1060
RGBrgb(93, 16, 96)
HSLhsl(298, 71%, 22%)
HSVhsv(298, 83%, 38%)
CMYKcmyk(3.1%, 83.3%, 0%, 62.4%)
CIE-LABlab(22.10, 43.46, -28.55)
CIE-LCHlch(22.10, 52.00, 326.70°)
OKLaboklab(34.75% 0.1197 -0.0794)
OKLCHoklch(34.75% 0.144 326.4)
XYZxyz(6.8107, 3.5427, 11.3892)
Luminance0.0354 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1060 #136010
analogous
#351060 #5D1060 #60103B
triadic
#5D1060 #605D10 #10605D
tetradic
#5D1060 #603510 #136010 #103B60
square
#5D1060 #603510 #136010 #103B60
split-complementary
#5D1060 #3B6010 #106035
monochromatic
#19041A #2A072C #5D1060 #901994 #C321C9

Accessibility & contrast

On white

12.29
#5D1060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5D1060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1060
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1060#FFFFFF#000000##FFFFFF
##5D10601.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F62
Deuteranopia (green-blind)
#24385E
Tritanopia (blue-blind)
#601F38
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5d1060;
/* rgb */ color: rgb(93, 16, 96);
/* oklch */ color: oklch(34.8% 0.144 326.4);
Tailwind
colors: {
  custom: {
    50: '#8e598d',
    500: '#5d1060',
    950: '#000000',
  },
}
SCSS
$custom: #5d1060;
$custom-light: #8e598d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1060",
  "rgb": {
    "r": 93,
    "g": 16,
    "b": 96
  },
  "hsl": {
    "h": 297.75,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.3475,
    "c": 0.14361,
    "h": 326.4
  },
  "luminance": 0.03542
}

Semantic roles & 50–950 ramp

primary
#5D1060
secondary
#379933
accent
#EE3A40
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5D1060

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

Preview Lab → · Contrast checker → · Palette generator →

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