#5D1057#5D1057

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

Color values

HEX#5D1057
RGBrgb(93, 16, 87)
HSLhsl(305, 71%, 21%)
HSVhsv(305, 83%, 36%)
CMYKcmyk(0%, 82.8%, 6.5%, 63.5%)
CIE-LABlab(21.53, 41.86, -23.47)
CIE-LCHlch(21.53, 47.99, 330.72°)
OKLaboklab(34.16% 0.1199 -0.0647)
OKLCHoklch(34.16% 0.136 331.7)
XYZxyz(6.4198, 3.3864, 9.3305)
Luminance0.0339 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1057 #105D16
analogous
#3D105D #5D1057 #5D1031
triadic
#5D1057 #575D10 #10575D
tetradic
#5D1057 #5D3D10 #105D16 #10315D
square
#5D1057 #5D3D10 #105D16 #10315D
split-complementary
#5D1057 #315D10 #105D3D
monochromatic
#1A0418 #290726 #5D1057 #911988 #C522B9

Accessibility & contrast

On white

12.52
#5D1057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5D1057 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1057
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1057#FFFFFF#000000##FFFFFF
##5D10571.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092D59
Deuteranopia (green-blind)
#2A3755
Tritanopia (blue-blind)
#611A33
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5d1057;
/* rgb */ color: rgb(93, 16, 87);
/* oklch */ color: oklch(34.2% 0.136 331.7);
Tailwind
colors: {
  custom: {
    50: '#8e5986',
    500: '#5d1057',
    950: '#000000',
  },
}
SCSS
$custom: #5d1057;
$custom-light: #8e5986;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1057",
  "rgb": {
    "r": 93,
    "g": 16,
    "b": 87
  },
  "hsl": {
    "h": 304.675,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.34162,
    "c": 0.13618,
    "h": 331.7
  },
  "luminance": 0.03386
}

Semantic roles & 50–950 ramp

primary
#5D1057
secondary
#33963A
accent
#ED483A
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5D1057

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

Preview Lab → · Contrast checker → · Palette generator →

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