#5D1058#5D1058

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

Color values

HEX#5D1058
RGBrgb(93, 16, 88)
HSLhsl(304, 71%, 21%)
HSVhsv(304, 83%, 36%)
CMYKcmyk(0%, 82.8%, 5.4%, 63.5%)
CIE-LABlab(21.59, 42.03, -24.04)
CIE-LCHlch(21.59, 48.42, 330.23°)
OKLaboklab(34.23% 0.1199 -0.0663)
OKLCHoklch(34.23% 0.137 331)
XYZxyz(6.4609, 3.4028, 9.5472)
Luminance0.0340 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1058 #105D15
analogous
#3C105D #5D1058 #5D1032
triadic
#5D1058 #585D10 #10585D
tetradic
#5D1058 #5D3C10 #105D15 #10325D
square
#5D1058 #5D3C10 #105D15 #10325D
split-complementary
#5D1058 #325D10 #105D3C
monochromatic
#1A0419 #290727 #5D1058 #911989 #C522BB

Accessibility & contrast

On white

12.50
#5D1058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1058
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1058#FFFFFF#000000##FFFFFF
##5D10581.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072D5A
Deuteranopia (green-blind)
#293756
Tritanopia (blue-blind)
#611B34
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5d1058;
/* rgb */ color: rgb(93, 16, 88);
/* oklch */ color: oklch(34.2% 0.137 331.0);
Tailwind
colors: {
  custom: {
    50: '#8e5987',
    500: '#5d1058',
    950: '#000000',
  },
}
SCSS
$custom: #5d1058;
$custom-light: #8e5987;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1058",
  "rgb": {
    "r": 93,
    "g": 16,
    "b": 88
  },
  "hsl": {
    "h": 303.896,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.34225,
    "c": 0.13699,
    "h": 331
  },
  "luminance": 0.03402
}

Semantic roles & 50–950 ramp

primary
#5D1058
secondary
#339639
accent
#ED463A
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5D1058

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

Preview Lab → · Contrast checker → · Palette generator →

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