#5D1674#5D1674

#5D1674 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.7% C 0.155 H 316.1°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#5D1674
RGBrgb(93, 22, 116)
HSLhsl(285, 68%, 27%)
HSVhsv(285, 81%, 45%)
CMYKcmyk(19.8%, 81%, 0%, 54.5%)
CIE-LABlab(24.20, 45.41, -38.18)
CIE-LCHlch(24.20, 59.33, 319.95°)
OKLaboklab(36.69% 0.1119 -0.1077)
OKLCHoklch(36.69% 0.155 316.1)
XYZxyz(7.9530, 4.1623, 16.9041)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1674 #2D7416
analogous
#2E1674 #5D1674 #74165C
triadic
#5D1674 #745D16 #16745D
tetradic
#5D1674 #742E16 #2D7416 #165C74
square
#5D1674 #742E16 #2D7416 #165C74
split-complementary
#5D1674 #5C7416 #16742E
monochromatic
#15051A #340C41 #5D1674 #8620A7 #AE2DD7

Accessibility & contrast

On white

11.46
#5D1674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#5D1674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1674
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1674#FFFFFF#000000##FFFFFF
##5D16741.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003577
Deuteranopia (green-blind)
#153B72
Tritanopia (blue-blind)
#5B2B45
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5d1674;
/* rgb */ color: rgb(93, 22, 116);
/* oklch */ color: oklch(36.7% 0.155 316.1);
Tailwind
colors: {
  custom: {
    50: '#8f5d9d',
    500: '#5d1674',
    950: '#000000',
  },
}
SCSS
$custom: #5d1674;
$custom-light: #8f5d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1674",
  "rgb": {
    "r": 93,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 285.319,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.36688,
    "c": 0.15529,
    "h": 316.1
  },
  "luminance": 0.04162
}

Semantic roles & 50–950 ramp

primary
#5D1674
secondary
#57AA3C
accent
#EB3D67
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #5D1674

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

Preview Lab → · Contrast checker → · Palette generator →

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