#5D1360#5D1360

#5D1360 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.0% C 0.140 H 326.3°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#5D1360
RGBrgb(93, 19, 96)
HSLhsl(298, 67%, 23%)
HSVhsv(298, 80%, 38%)
CMYKcmyk(3.1%, 80.2%, 0%, 62.4%)
CIE-LABlab(22.44, 42.49, -28.01)
CIE-LCHlch(22.44, 50.89, 326.61°)
OKLaboklab(34.99% 0.1169 -0.0779)
OKLCHoklch(34.99% 0.14 326.3)
XYZxyz(6.8583, 3.6379, 11.4050)
Luminance0.0364 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1360 #166013
analogous
#361360 #5D1360 #60133D
triadic
#5D1360 #605D13 #13605D
tetradic
#5D1360 #603613 #166013 #133D60
square
#5D1360 #603613 #166013 #133D60
split-complementary
#5D1360 #3D6013 #136036
monochromatic
#19051A #2C092D #5D1360 #8E1D93 #C027C6

Accessibility & contrast

On white

12.16
#5D1360 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#5D1360 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1360
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1360#FFFFFF#000000##FFFFFF
##5D13601.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003062
Deuteranopia (green-blind)
#26395E
Tritanopia (blue-blind)
#602039
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5d1360;
/* rgb */ color: rgb(93, 19, 96);
/* oklch */ color: oklch(35.0% 0.140 326.3);
Tailwind
colors: {
  custom: {
    50: '#8e5a8d',
    500: '#5d1360',
    950: '#000000',
  },
}
SCSS
$custom: #5d1360;
$custom-light: #8e5a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1360",
  "rgb": {
    "r": 93,
    "g": 19,
    "b": 96
  },
  "hsl": {
    "h": 297.662,
    "s": 66.957,
    "l": 22.549
  },
  "oklch": {
    "l": 0.34991,
    "c": 0.14049,
    "h": 326.3
  },
  "luminance": 0.03637
}

Semantic roles & 50–950 ramp

primary
#5D1360
secondary
#3B9837
accent
#EA3E45
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5D1360

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

Preview Lab → · Contrast checker → · Palette generator →

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