#5D2B72#5D2B72

#5D2B72 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.0% C 0.125 H 314.7°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#5D2B72
RGBrgb(93, 43, 114)
HSLhsl(282, 45%, 31%)
HSVhsv(282, 62%, 45%)
CMYKcmyk(18.4%, 62.3%, 0%, 55.3%)
CIE-LABlab(27.49, 35.39, -31.62)
CIE-LCHlch(27.49, 47.46, 318.21°)
OKLaboklab(39% 0.0876 -0.0886)
OKLCHoklch(39% 0.125 314.7)
XYZxyz(8.4148, 5.2701, 16.4903)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2B72 #40722B
analogous
#392B72 #5D2B72 #722B63
triadic
#5D2B72 #725D2B #2B725D
tetradic
#5D2B72 #72392B #40722B #2B6372
square
#5D2B72 #72392B #40722B #2B6372
split-complementary
#5D2B72 #63722B #2B7239
monochromatic
#140919 #391A46 #5D2B72 #813C9E #A158C0

Accessibility & contrast

On white

10.22
#5D2B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#5D2B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2B72
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2B72#FFFFFF#000000##FFFFFF
##5D2B721.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153E74
Deuteranopia (green-blind)
#294270
Tritanopia (blue-blind)
#5B374A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5d2b72;
/* rgb */ color: rgb(93, 43, 114);
/* oklch */ color: oklch(39.0% 0.125 314.7);
Tailwind
colors: {
  custom: {
    50: '#8d679b',
    500: '#5d2b72',
    950: '#000000',
  },
}
SCSS
$custom: #5d2b72;
$custom-light: #8d679b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2b72",
  "rgb": {
    "r": 93,
    "g": 43,
    "b": 114
  },
  "hsl": {
    "h": 282.254,
    "s": 45.223,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39003,
    "c": 0.12457,
    "h": 314.7
  },
  "luminance": 0.0527
}

Semantic roles & 50–950 ramp

primary
#5D2B72
secondary
#6CA455
accent
#D55379
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #5D2B72

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

Preview Lab → · Contrast checker → · Palette generator →

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