#5D0F51#5D0F51

#5D0F51 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.7% C 0.133 H 335.4°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#5D0F51
RGBrgb(93, 15, 81)
HSLhsl(309, 72%, 21%)
HSVhsv(309, 84%, 36%)
CMYKcmyk(0%, 83.9%, 12.9%, 63.5%)
CIE-LABlab(21.07, 41.17, -20.16)
CIE-LCHlch(21.07, 45.84, 333.91°)
OKLaboklab(33.72% 0.1205 -0.0551)
OKLCHoklch(33.72% 0.133 335.4)
XYZxyz(6.1703, 3.2635, 8.0879)
Luminance0.0326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0F51 #0F5D1B
analogous
#420F5D #5D0F51 #5D0F2A
triadic
#5D0F51 #515D0F #0F515D
tetradic
#5D0F51 #5D420F #0F5D1B #0F2A5D
square
#5D0F51 #5D420F #0F5D1B #0F2A5D
split-complementary
#5D0F51 #2A5D0F #0F5D42
monochromatic
#1A0417 #280623 #5D0F51 #92177F #C620AD

Accessibility & contrast

On white

12.71
#5D0F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5D0F51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D0F51
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0F51#FFFFFF#000000##FFFFFF
##5D0F511.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2B53
Deuteranopia (green-blind)
#2C374F
Tritanopia (blue-blind)
#62162F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d0f51;
/* rgb */ color: rgb(93, 15, 81);
/* oklch */ color: oklch(33.7% 0.133 335.4);
Tailwind
colors: {
  custom: {
    50: '#8e5882',
    500: '#5d0f51',
    950: '#000000',
  },
}
SCSS
$custom: #5d0f51;
$custom-light: #8e5882;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0f51",
  "rgb": {
    "r": 93,
    "g": 15,
    "b": 81
  },
  "hsl": {
    "h": 309.231,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33719,
    "c": 0.1325,
    "h": 335.4
  },
  "luminance": 0.03263
}

Semantic roles & 50–950 ramp

primary
#5D0F51
secondary
#319641
accent
#EF5539
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5D0F51

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

Preview Lab → · Contrast checker → · Palette generator →

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