#5D1455#5D1455

#5D1455 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.4% C 0.130 H 332.9°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#5D1455
RGBrgb(93, 20, 85)
HSLhsl(307, 65%, 22%)
HSVhsv(307, 78%, 36%)
CMYKcmyk(0%, 78.5%, 8.6%, 63.5%)
CIE-LABlab(21.89, 40.16, -21.57)
CIE-LCHlch(21.89, 45.58, 331.76°)
OKLaboklab(34.38% 0.1158 -0.0592)
OKLCHoklch(34.38% 0.13 332.9)
XYZxyz(6.4041, 3.4839, 8.9277)
Luminance0.0348 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1455 #145D1C
analogous
#41145D #5D1455 #5D1431
triadic
#5D1455 #555D14 #14555D
tetradic
#5D1455 #5D4114 #145D1C #14315D
square
#5D1455 #5D4114 #145D1C #14315D
split-complementary
#5D1455 #315D14 #145D41
monochromatic
#190517 #2B0927 #5D1455 #8F1F83 #C22AB1

Accessibility & contrast

On white

12.38
#5D1455 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5D1455 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1455
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1455#FFFFFF#000000##FFFFFF
##5D14551.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112E57
Deuteranopia (green-blind)
#2C3853
Tritanopia (blue-blind)
#611C33
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5d1455;
/* rgb */ color: rgb(93, 20, 85);
/* oklch */ color: oklch(34.4% 0.130 332.9);
Tailwind
colors: {
  custom: {
    50: '#8e5a85',
    500: '#5d1455',
    950: '#000000',
  },
}
SCSS
$custom: #5d1455;
$custom-light: #8e5a85;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1455",
  "rgb": {
    "r": 93,
    "g": 20,
    "b": 85
  },
  "hsl": {
    "h": 306.575,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.34379,
    "c": 0.13006,
    "h": 332.9
  },
  "luminance": 0.03483
}

Semantic roles & 50–950 ramp

primary
#5D1455
secondary
#389542
accent
#E85340
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0D040B
muted
#7D797C

Preview Lab

Preview with #5D1455

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

Preview Lab → · Contrast checker → · Palette generator →

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