#5D1670#5D1670

#5D1670 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.4% C 0.152 H 318.0°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#5D1670
RGBrgb(93, 22, 112)
HSLhsl(287, 67%, 26%)
HSVhsv(287, 80%, 44%)
CMYKcmyk(17%, 80.4%, 0%, 56.1%)
CIE-LABlab(23.91, 44.58, -36.08)
CIE-LCHlch(23.91, 57.35, 321.01°)
OKLaboklab(36.39% 0.1126 -0.1015)
OKLCHoklch(36.39% 0.152 318)
XYZxyz(7.7253, 4.0712, 15.7050)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1670 #297016
analogous
#301670 #5D1670 #701656
triadic
#5D1670 #705D16 #16705D
tetradic
#5D1670 #703016 #297016 #165670
square
#5D1670 #703016 #297016 #165670
split-complementary
#5D1670 #567016 #167030
monochromatic
#15051A #330C3D #5D1670 #8720A3 #B12BD5

Accessibility & contrast

On white

11.58
#5D1670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1670
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1670#FFFFFF#000000##FFFFFF
##5D16701.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003472
Deuteranopia (green-blind)
#1A3B6E
Tritanopia (blue-blind)
#5C2A43
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5d1670;
/* rgb */ color: rgb(93, 22, 112);
/* oklch */ color: oklch(36.4% 0.152 318.0);
Tailwind
colors: {
  custom: {
    50: '#8e5c9a',
    500: '#5d1670',
    950: '#000000',
  },
}
SCSS
$custom: #5d1670;
$custom-light: #8e5c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1670",
  "rgb": {
    "r": 93,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 287.333,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.36385,
    "c": 0.15156,
    "h": 318
  },
  "luminance": 0.04071
}

Semantic roles & 50–950 ramp

primary
#5D1670
secondary
#52A63C
accent
#EA3E62
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5D1670

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

Preview Lab → · Contrast checker → · Palette generator →

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