#5D1068#5D1068

#5D1068 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.3% C 0.150 H 322.2°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#5D1068
RGBrgb(93, 16, 104)
HSLhsl(293, 73%, 24%)
HSVhsv(293, 85%, 41%)
CMYKcmyk(10.6%, 84.6%, 0%, 59.2%)
CIE-LABlab(22.65, 44.96, -32.92)
CIE-LCHlch(22.65, 55.73, 323.79°)
OKLaboklab(35.31% 0.1189 -0.0922)
OKLCHoklch(35.31% 0.15 322.2)
XYZxyz(7.1979, 3.6976, 13.4286)
Luminance0.0370 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1068 #1B6810
analogous
#311068 #5D1068 #681047
triadic
#5D1068 #685D10 #10685D
tetradic
#5D1068 #683110 #1B6810 #104768
square
#5D1068 #683110 #1B6810 #104768
split-complementary
#5D1068 #476810 #106831
monochromatic
#18041B #2E0833 #5D1068 #8C189D #BC20D2

Accessibility & contrast

On white

12.07
#5D1068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#5D1068 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1068
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1068#FFFFFF#000000##FFFFFF
##5D10681.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316A
Deuteranopia (green-blind)
#1E3966
Tritanopia (blue-blind)
#5E233D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5d1068;
/* rgb */ color: rgb(93, 16, 104);
/* oklch */ color: oklch(35.3% 0.150 322.2);
Tailwind
colors: {
  custom: {
    50: '#8e5a94',
    500: '#5d1068',
    950: '#000000',
  },
}
SCSS
$custom: #5d1068;
$custom-light: #8e5a94;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1068",
  "rgb": {
    "r": 93,
    "g": 16,
    "b": 104
  },
  "hsl": {
    "h": 292.5,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.35313,
    "c": 0.15044,
    "h": 322.2
  },
  "luminance": 0.03697
}

Semantic roles & 50–950 ramp

primary
#5D1068
secondary
#41A034
accent
#F0384F
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5D1068

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

Preview Lab → · Contrast checker → · Palette generator →

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