#5D1064#5D1064

#5D1064 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.0% C 0.147 H 324.3°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#5D1064
RGBrgb(93, 16, 100)
HSLhsl(295, 72%, 23%)
HSVhsv(295, 84%, 39%)
CMYKcmyk(7%, 84%, 0%, 60.8%)
CIE-LABlab(22.37, 44.20, -30.75)
CIE-LCHlch(22.37, 53.85, 325.18°)
OKLaboklab(35.03% 0.1193 -0.0858)
OKLCHoklch(35.03% 0.147 324.3)
XYZxyz(6.9996, 3.6183, 12.3838)
Luminance0.0362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1064 #176410
analogous
#331064 #5D1064 #641041
triadic
#5D1064 #645D10 #10645D
tetradic
#5D1064 #643310 #176410 #104164
square
#5D1064 #643310 #176410 #104164
split-complementary
#5D1064 #416410 #106433
monochromatic
#19041A #2C082F #5D1064 #8E1899 #BF21CE

Accessibility & contrast

On white

12.18
#5D1064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1064
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1064#FFFFFF#000000##FFFFFF
##5D10641.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003066
Deuteranopia (green-blind)
#223862
Tritanopia (blue-blind)
#5F213A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5d1064;
/* rgb */ color: rgb(93, 16, 100);
/* oklch */ color: oklch(35.0% 0.147 324.3);
Tailwind
colors: {
  custom: {
    50: '#8e5990',
    500: '#5d1064',
    950: '#000000',
  },
}
SCSS
$custom: #5d1064;
$custom-light: #8e5990;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1064",
  "rgb": {
    "r": 93,
    "g": 16,
    "b": 100
  },
  "hsl": {
    "h": 295,
    "s": 72.414,
    "l": 22.745
  },
  "oklch": {
    "l": 0.35027,
    "c": 0.147,
    "h": 324.3
  },
  "luminance": 0.03618
}

Semantic roles & 50–950 ramp

primary
#5D1064
secondary
#3C9D33
accent
#EF3948
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5D1064

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

Preview Lab → · Contrast checker → · Palette generator →

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