#5D0F55#5D0F55

#5D0F55 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 34.0% C 0.136 H 332.9°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#5D0F55
RGBrgb(93, 15, 85)
HSLhsl(306, 72%, 21%)
HSVhsv(306, 84%, 36%)
CMYKcmyk(0%, 83.9%, 8.6%, 63.5%)
CIE-LABlab(21.30, 41.83, -22.49)
CIE-LCHlch(21.30, 47.49, 331.74°)
OKLaboklab(33.96% 0.1207 -0.0618)
OKLCHoklch(33.96% 0.136 332.9)
XYZxyz(6.3248, 3.3252, 8.9013)
Luminance0.0333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0F55 #0F5D17
analogous
#3E0F5D #5D0F55 #5D0F2E
triadic
#5D0F55 #555D0F #0F555D
tetradic
#5D0F55 #5D3E0F #0F5D17 #0F2E5D
square
#5D0F55 #5D3E0F #0F5D17 #0F2E5D
split-complementary
#5D0F55 #2E5D0F #0F5D3E
monochromatic
#1A0418 #280625 #5D0F55 #921785 #C620B5

Accessibility & contrast

On white

12.61
#5D0F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5D0F55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D0F55
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0F55#FFFFFF#000000##FFFFFF
##5D0F551.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2C57
Deuteranopia (green-blind)
#2A3753
Tritanopia (blue-blind)
#611832
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d0f55;
/* rgb */ color: rgb(93, 15, 85);
/* oklch */ color: oklch(34.0% 0.136 332.9);
Tailwind
colors: {
  custom: {
    50: '#8e5885',
    500: '#5d0f55',
    950: '#000000',
  },
}
SCSS
$custom: #5d0f55;
$custom-light: #8e5885;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0f55",
  "rgb": {
    "r": 93,
    "g": 15,
    "b": 85
  },
  "hsl": {
    "h": 306.154,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33961,
    "c": 0.13561,
    "h": 332.9
  },
  "luminance": 0.03325
}

Semantic roles & 50–950 ramp

primary
#5D0F55
secondary
#31963C
accent
#EF4C39
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5D0F55

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

Preview Lab → · Contrast checker → · Palette generator →

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