#5D0F5F#5D0F5F

#5D0F5F is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.6% C 0.144 H 327.0°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#5D0F5F
RGBrgb(93, 15, 95)
HSLhsl(299, 73%, 22%)
HSVhsv(299, 84%, 37%)
CMYKcmyk(2.1%, 84.2%, 0%, 62.7%)
CIE-LABlab(21.93, 43.58, -28.16)
CIE-LCHlch(21.93, 51.89, 327.13°)
OKLaboklab(34.61% 0.1206 -0.0783)
OKLCHoklch(34.61% 0.144 327)
XYZxyz(6.7505, 3.4955, 11.1434)
Luminance0.0350 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0F5F #115F0F
analogous
#350F5F #5D0F5F #5F0F39
triadic
#5D0F5F #5F5D0F #0F5F5D
tetradic
#5D0F5F #5F350F #115F0F #0F395F
square
#5D0F5F #5F350F #115F0F #0F395F
split-complementary
#5D0F5F #395F0F #0F5F35
monochromatic
#1A041A #29072A #5D0F5F #911794 #C420C9

Accessibility & contrast

On white

12.36
#5D0F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D0F5F
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0F5F#FFFFFF#000000##FFFFFF
##5D0F5F1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E61
Deuteranopia (green-blind)
#25385D
Tritanopia (blue-blind)
#601E37
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5d0f5f;
/* rgb */ color: rgb(93, 15, 95);
/* oklch */ color: oklch(34.6% 0.144 327.0);
Tailwind
colors: {
  custom: {
    50: '#8e598d',
    500: '#5d0f5f',
    950: '#000000',
  },
}
SCSS
$custom: #5d0f5f;
$custom-light: #8e598d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0f5f",
  "rgb": {
    "r": 93,
    "g": 15,
    "b": 95
  },
  "hsl": {
    "h": 298.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.34609,
    "c": 0.14374,
    "h": 327
  },
  "luminance": 0.03495
}

Semantic roles & 50–950 ramp

primary
#5D0F5F
secondary
#349832
accent
#EF383D
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5D0F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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