#5D0F57#5D0F57

#5D0F57 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.1% C 0.137 H 331.7°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#5D0F57
RGBrgb(93, 15, 87)
HSLhsl(305, 72%, 21%)
HSVhsv(305, 84%, 36%)
CMYKcmyk(0%, 83.9%, 6.5%, 63.5%)
CIE-LABlab(21.42, 42.17, -23.64)
CIE-LCHlch(21.42, 48.34, 330.73°)
OKLaboklab(34.09% 0.1208 -0.0651)
OKLCHoklch(34.09% 0.137 331.7)
XYZxyz(6.4053, 3.3575, 9.3257)
Luminance0.0336 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0F57 #0F5D15
analogous
#3C0F5D #5D0F57 #5D0F30
triadic
#5D0F57 #575D0F #0F575D
tetradic
#5D0F57 #5D3C0F #0F5D15 #0F305D
square
#5D0F57 #5D3C0F #0F5D15 #0F305D
split-complementary
#5D0F57 #305D0F #0F5D3C
monochromatic
#1A0419 #280626 #5D0F57 #921788 #C620BA

Accessibility & contrast

On white

12.56
#5D0F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D0F57
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0F57#FFFFFF#000000##FFFFFF
##5D0F571.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072D59
Deuteranopia (green-blind)
#293755
Tritanopia (blue-blind)
#611933
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d0f57;
/* rgb */ color: rgb(93, 15, 87);
/* oklch */ color: oklch(34.1% 0.137 331.7);
Tailwind
colors: {
  custom: {
    50: '#8e5887',
    500: '#5d0f57',
    950: '#000000',
  },
}
SCSS
$custom: #5d0f57;
$custom-light: #8e5887;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0f57",
  "rgb": {
    "r": 93,
    "g": 15,
    "b": 87
  },
  "hsl": {
    "h": 304.615,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.34085,
    "c": 0.1372,
    "h": 331.7
  },
  "luminance": 0.03357
}

Semantic roles & 50–950 ramp

primary
#5D0F57
secondary
#319639
accent
#EF4739
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5D0F57

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

Preview Lab → · Contrast checker → · Palette generator →

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