#5D0E57#5D0E57

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

Color values

HEX#5D0E57
RGBrgb(93, 14, 87)
HSLhsl(305, 74%, 21%)
HSVhsv(305, 85%, 36%)
CMYKcmyk(0%, 84.9%, 6.5%, 63.5%)
CIE-LABlab(21.32, 42.47, -23.80)
CIE-LCHlch(21.32, 48.68, 330.73°)
OKLaboklab(34.01% 0.1216 -0.0656)
OKLCHoklch(34.01% 0.138 331.7)
XYZxyz(6.3915, 3.3299, 9.3211)
Luminance0.0333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0E57 #0E5D14
analogous
#3B0E5D #5D0E57 #5D0E2F
triadic
#5D0E57 #575D0E #0E575D
tetradic
#5D0E57 #5D3B0E #0E5D14 #0E2F5D
square
#5D0E57 #5D3B0E #0E5D14 #0E2F5D
split-complementary
#5D0E57 #2F5D0E #0E5D3B
monochromatic
#1B0419 #280625 #5D0E57 #921689 #C71EBB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D0E57#FFFFFF#000000##FFFFFF
##5D0E571.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)
#062C59
Deuteranopia (green-blind)
#293755
Tritanopia (blue-blind)
#611933
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d0e57;
/* rgb */ color: rgb(93, 14, 87);
/* oklch */ color: oklch(34.0% 0.138 331.7);
Tailwind
colors: {
  custom: {
    50: '#8e5887',
    500: '#5d0e57',
    950: '#000000',
  },
}
SCSS
$custom: #5d0e57;
$custom-light: #8e5887;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0e57",
  "rgb": {
    "r": 93,
    "g": 14,
    "b": 87
  },
  "hsl": {
    "h": 304.557,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.34012,
    "c": 0.13818,
    "h": 331.7
  },
  "luminance": 0.03329
}

Semantic roles & 50–950 ramp

primary
#5D0E57
secondary
#309738
accent
#F04537
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5D0E57

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

Preview Lab → · Contrast checker → · Palette generator →

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