#5D1459#5D1459

#5D1459 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.6% C 0.133 H 330.4°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#5D1459
RGBrgb(93, 20, 89)
HSLhsl(303, 65%, 22%)
HSVhsv(303, 78%, 36%)
CMYKcmyk(0%, 78.5%, 4.3%, 63.5%)
CIE-LABlab(22.12, 40.86, -23.87)
CIE-LCHlch(22.12, 47.32, 329.71°)
OKLaboklab(34.63% 0.116 -0.0659)
OKLCHoklch(34.63% 0.133 330.4)
XYZxyz(6.5675, 3.5493, 9.7884)
Luminance0.0355 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1459 #145D18
analogous
#3D145D #5D1459 #5D1434
triadic
#5D1459 #595D14 #14595D
tetradic
#5D1459 #5D3D14 #145D18 #14345D
square
#5D1459 #5D3D14 #145D18 #14345D
split-complementary
#5D1459 #345D14 #145D3D
monochromatic
#190518 #2B0929 #5D1459 #8F1F89 #C22AB9

Accessibility & contrast

On white

12.28
#5D1459 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1459
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1459#FFFFFF#000000##FFFFFF
##5D14591.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2F5B
Deuteranopia (green-blind)
#2A3857
Tritanopia (blue-blind)
#611E35
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5d1459;
/* rgb */ color: rgb(93, 20, 89);
/* oklch */ color: oklch(34.6% 0.133 330.4);
Tailwind
colors: {
  custom: {
    50: '#8e5a88',
    500: '#5d1459',
    950: '#000000',
  },
}
SCSS
$custom: #5d1459;
$custom-light: #8e5a88;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1459",
  "rgb": {
    "r": 93,
    "g": 20,
    "b": 89
  },
  "hsl": {
    "h": 303.288,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.34625,
    "c": 0.13338,
    "h": 330.4
  },
  "luminance": 0.03549
}

Semantic roles & 50–950 ramp

primary
#5D1459
secondary
#38953D
accent
#E84940
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040B
muted
#7D797C

Preview Lab

Preview with #5D1459

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

Preview Lab → · Contrast checker → · Palette generator →

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