#5D1361#5D1361

#5D1361 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.1% C 0.141 H 325.8°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#5D1361
RGBrgb(93, 19, 97)
HSLhsl(297, 67%, 23%)
HSVhsv(297, 80%, 38%)
CMYKcmyk(4.1%, 80.4%, 0%, 62%)
CIE-LABlab(22.50, 42.67, -28.56)
CIE-LCHlch(22.50, 51.35, 326.20°)
OKLaboklab(35.06% 0.1169 -0.0795)
OKLCHoklch(35.06% 0.141 325.8)
XYZxyz(6.9046, 3.6564, 11.6490)
Luminance0.0366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1361 #176113
analogous
#361361 #5D1361 #61133E
triadic
#5D1361 #615D13 #13615D
tetradic
#5D1361 #613613 #176113 #133E61
square
#5D1361 #613613 #176113 #133E61
split-complementary
#5D1361 #3E6113 #136136
monochromatic
#19051A #2C092E #5D1361 #8E1D94 #BF27C7

Accessibility & contrast

On white

12.13
#5D1361 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1361
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1361#FFFFFF#000000##FFFFFF
##5D13611.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003063
Deuteranopia (green-blind)
#25395F
Tritanopia (blue-blind)
#5F2139
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5d1361;
/* rgb */ color: rgb(93, 19, 97);
/* oklch */ color: oklch(35.1% 0.141 325.8);
Tailwind
colors: {
  custom: {
    50: '#8e5a8e',
    500: '#5d1361',
    950: '#000000',
  },
}
SCSS
$custom: #5d1361;
$custom-light: #8e5a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1361",
  "rgb": {
    "r": 93,
    "g": 19,
    "b": 97
  },
  "hsl": {
    "h": 296.923,
    "s": 67.241,
    "l": 22.745
  },
  "oklch": {
    "l": 0.35058,
    "c": 0.14135,
    "h": 325.8
  },
  "luminance": 0.03656
}

Semantic roles & 50–950 ramp

primary
#5D1361
secondary
#3C9937
accent
#EA3E47
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5D1361

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

Preview Lab → · Contrast checker → · Palette generator →

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