#5D2F73#5D2F73

#5D2F73 is a dark, moderate purple. Relative luminance 0.056; OKLCH L 39.7% C 0.119 H 313.5°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#5D2F73
RGBrgb(93, 47, 115)
HSLhsl(281, 42%, 32%)
HSVhsv(281, 59%, 45%)
CMYKcmyk(19.1%, 59.1%, 0%, 54.9%)
CIE-LABlab(28.38, 33.41, -30.85)
CIE-LCHlch(28.38, 45.48, 317.28°)
OKLaboklab(39.67% 0.0819 -0.0864)
OKLCHoklch(39.67% 0.119 313.5)
XYZxyz(8.6247, 5.5982, 16.8426)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2F73 #45732F
analogous
#3B2F73 #5D2F73 #732F67
triadic
#5D2F73 #735D2F #2F735D
tetradic
#5D2F73 #733B2F #45732F #2F6773
square
#5D2F73 #733B2F #45732F #2F6773
split-complementary
#5D2F73 #67732F #2F733B
monochromatic
#170B1C #3A1D48 #5D2F73 #80419E #9F5FBE

Accessibility & contrast

On white

9.91
#5D2F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#5D2F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2F73
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2F73#FFFFFF#000000##FFFFFF
##5D2F731.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4075
Deuteranopia (green-blind)
#2C4471
Tritanopia (blue-blind)
#5B3B4C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5d2f73;
/* rgb */ color: rgb(93, 47, 115);
/* oklch */ color: oklch(39.7% 0.119 313.5);
Tailwind
colors: {
  custom: {
    50: '#8d6a9c',
    500: '#5d2f73',
    950: '#000000',
  },
}
SCSS
$custom: #5d2f73;
$custom-light: #8d6a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2f73",
  "rgb": {
    "r": 93,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 280.588,
    "s": 41.975,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39669,
    "c": 0.11905,
    "h": 313.5
  },
  "luminance": 0.05598
}

Semantic roles & 50–950 ramp

primary
#5D2F73
secondary
#72A45A
accent
#D2567E
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #5D2F73

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

Preview Lab → · Contrast checker → · Palette generator →

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