#5D1461#5D1461

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

Color values

HEX#5D1461
RGBrgb(93, 20, 97)
HSLhsl(297, 66%, 23%)
HSVhsv(297, 79%, 38%)
CMYKcmyk(4.1%, 79.4%, 0%, 62%)
CIE-LABlab(22.62, 42.33, -28.37)
CIE-LCHlch(22.62, 50.95, 326.17°)
OKLaboklab(35.14% 0.1159 -0.0789)
OKLCHoklch(35.14% 0.14 325.7)
XYZxyz(6.9219, 3.6910, 11.6548)
Luminance0.0369 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1461 #186114
analogous
#361461 #5D1461 #61143E
triadic
#5D1461 #615D14 #14615D
tetradic
#5D1461 #613614 #186114 #143E61
square
#5D1461 #613614 #186114 #143E61
split-complementary
#5D1461 #3E6114 #146136
monochromatic
#180519 #2C0A2E #5D1461 #8E1E94 #BE29C6

Accessibility & contrast

On white

12.08
#5D1461 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#5D1461 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1461
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1461#FFFFFF#000000##FFFFFF
##5D14611.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d1461;
/* rgb */ color: rgb(93, 20, 97);
/* oklch */ color: oklch(35.1% 0.140 325.7);
Tailwind
colors: {
  custom: {
    50: '#8e5b8e',
    500: '#5d1461',
    950: '#000000',
  },
}
SCSS
$custom: #5d1461;
$custom-light: #8e5b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1461",
  "rgb": {
    "r": 93,
    "g": 20,
    "b": 97
  },
  "hsl": {
    "h": 296.883,
    "s": 65.812,
    "l": 22.941
  },
  "oklch": {
    "l": 0.35144,
    "c": 0.14024,
    "h": 325.7
  },
  "luminance": 0.03691
}

Semantic roles & 50–950 ramp

primary
#5D1461
secondary
#3D9838
accent
#E93F48
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5D1461

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

Preview Lab → · Contrast checker → · Palette generator →

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