#5D2376#5D2376

#5D2376 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.2% C 0.141 H 313.9°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#5D2376
RGBrgb(93, 35, 118)
HSLhsl(282, 54%, 30%)
HSVhsv(282, 70%, 46%)
CMYKcmyk(21.2%, 70.3%, 0%, 53.7%)
CIE-LABlab(26.27, 40.40, -36.13)
CIE-LCHlch(26.27, 54.20, 318.19°)
OKLaboklab(38.2% 0.0979 -0.1017)
OKLCHoklch(38.2% 0.141 313.9)
XYZxyz(8.3847, 4.8375, 17.6281)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2376 #3C7623
analogous
#342376 #5D2376 #762365
triadic
#5D2376 #765D23 #23765D
tetradic
#5D2376 #763423 #3C7623 #236576
square
#5D2376 #763423 #3C7623 #236576
split-complementary
#5D2376 #657623 #237634
monochromatic
#130718 #381547 #5D2376 #8231A5 #A34AC9

Accessibility & contrast

On white

10.67
#5D2376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#5D2376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2376
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2376#FFFFFF#000000##FFFFFF
##5D23761.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B78
Deuteranopia (green-blind)
#1F4074
Tritanopia (blue-blind)
#5B3449
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5d2376;
/* rgb */ color: rgb(93, 35, 118);
/* oklch */ color: oklch(38.2% 0.141 313.9);
Tailwind
colors: {
  custom: {
    50: '#8e639e',
    500: '#5d2376',
    950: '#000000',
  },
}
SCSS
$custom: #5d2376;
$custom-light: #8e639e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2376",
  "rgb": {
    "r": 93,
    "g": 35,
    "b": 118
  },
  "hsl": {
    "h": 281.928,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.38203,
    "c": 0.14118,
    "h": 313.9
  },
  "luminance": 0.04837
}

Semantic roles & 50–950 ramp

primary
#5D2376
secondary
#68A94C
accent
#DE4A77
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0D050E
muted
#7D7A7E

Preview Lab

Preview with #5D2376

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

Preview Lab → · Contrast checker → · Palette generator →

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