#5D1062#5D1062

#5D1062 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.9% C 0.145 H 325.3°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#5D1062
RGBrgb(93, 16, 98)
HSLhsl(296, 72%, 22%)
HSVhsv(296, 84%, 38%)
CMYKcmyk(5.1%, 83.7%, 0%, 61.6%)
CIE-LABlab(22.23, 43.83, -29.65)
CIE-LCHlch(22.23, 52.92, 325.92°)
OKLaboklab(34.89% 0.1195 -0.0826)
OKLCHoklch(34.89% 0.145 325.3)
XYZxyz(6.9039, 3.5800, 11.8803)
Luminance0.0358 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1062 #156210
analogous
#341062 #5D1062 #62103E
triadic
#5D1062 #625D10 #10625D
tetradic
#5D1062 #623410 #156210 #103E62
square
#5D1062 #623410 #156210 #103E62
split-complementary
#5D1062 #3E6210 #106234
monochromatic
#19041A #2B072D #5D1062 #8F1997 #C121CB

Accessibility & contrast

On white

12.24
#5D1062 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5D1062 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1062
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1062#FFFFFF#000000##FFFFFF
##5D10621.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F64
Deuteranopia (green-blind)
#233860
Tritanopia (blue-blind)
#5F2039
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5d1062;
/* rgb */ color: rgb(93, 16, 98);
/* oklch */ color: oklch(34.9% 0.145 325.3);
Tailwind
colors: {
  custom: {
    50: '#8e598f',
    500: '#5d1062',
    950: '#000000',
  },
}
SCSS
$custom: #5d1062;
$custom-light: #8e598f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1062",
  "rgb": {
    "r": 93,
    "g": 16,
    "b": 98
  },
  "hsl": {
    "h": 296.341,
    "s": 71.93,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34888,
    "c": 0.1453,
    "h": 325.3
  },
  "luminance": 0.0358
}

Semantic roles & 50–950 ramp

primary
#5D1062
secondary
#399B33
accent
#EF3944
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5D1062

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

Preview Lab → · Contrast checker → · Palette generator →

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