#5D1A67#5D1A67

#5D1A67 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.1% C 0.138 H 322.2°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#5D1A67
RGBrgb(93, 26, 103)
HSLhsl(292, 60%, 25%)
HSVhsv(292, 75%, 40%)
CMYKcmyk(9.7%, 74.8%, 0%, 59.6%)
CIE-LABlab(23.82, 41.20, -30.39)
CIE-LCHlch(23.82, 51.19, 323.59°)
OKLaboklab(36.13% 0.1093 -0.0849)
OKLCHoklch(36.13% 0.138 322.2)
XYZxyz(7.3315, 4.0456, 13.2240)
Luminance0.0404 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1A67 #24671A
analogous
#371A67 #5D1A67 #671A4A
triadic
#5D1A67 #675D1A #1A675D
tetradic
#5D1A67 #67371A #24671A #1A4A67
square
#5D1A67 #67371A #24671A #1A4A67
split-complementary
#5D1A67 #4A671A #1A6737
monochromatic
#160618 #310E36 #5D1A67 #892698 #B533C9

Accessibility & contrast

On white

11.61
#5D1A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#5D1A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1A67
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1A67#FFFFFF#000000##FFFFFF
##5D1A671.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003469
Deuteranopia (green-blind)
#253B65
Tritanopia (blue-blind)
#5E283E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5d1a67;
/* rgb */ color: rgb(93, 26, 103);
/* oklch */ color: oklch(36.1% 0.138 322.2);
Tailwind
colors: {
  custom: {
    50: '#8e5e93',
    500: '#5d1a67',
    950: '#000000',
  },
}
SCSS
$custom: #5d1a67;
$custom-light: #8e5e93;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1a67",
  "rgb": {
    "r": 93,
    "g": 26,
    "b": 103
  },
  "hsl": {
    "h": 292.208,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.36127,
    "c": 0.1384,
    "h": 322.2
  },
  "luminance": 0.04045
}

Semantic roles & 50–950 ramp

primary
#5D1A67
secondary
#4C9D40
accent
#E34559
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0D050D
muted
#7D797E

Preview Lab

Preview with #5D1A67

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

Preview Lab → · Contrast checker → · Palette generator →

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