#5D1675#5D1675

#5D1675 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.8% C 0.156 H 315.7°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#5D1675
RGBrgb(93, 22, 117)
HSLhsl(285, 68%, 27%)
HSVhsv(285, 81%, 46%)
CMYKcmyk(20.5%, 81.2%, 0%, 54.1%)
CIE-LABlab(24.28, 45.63, -38.70)
CIE-LCHlch(24.28, 59.83, 319.70°)
OKLaboklab(36.76% 0.1117 -0.1092)
OKLCHoklch(36.76% 0.156 315.7)
XYZxyz(8.0115, 4.1856, 17.2121)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1675 #2E7516
analogous
#2E1675 #5D1675 #75165E
triadic
#5D1675 #755D16 #16755D
tetradic
#5D1675 #752E16 #2E7516 #165E75
square
#5D1675 #752E16 #2E7516 #165E75
split-complementary
#5D1675 #5E7516 #16752E
monochromatic
#14051A #340C41 #5D1675 #8620A9 #AD2ED8

Accessibility & contrast

On white

11.43
#5D1675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#5D1675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1675
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1675#FFFFFF#000000##FFFFFF
##5D16751.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003678
Deuteranopia (green-blind)
#133C73
Tritanopia (blue-blind)
#5B2C45
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5d1675;
/* rgb */ color: rgb(93, 22, 117);
/* oklch */ color: oklch(36.8% 0.156 315.7);
Tailwind
colors: {
  custom: {
    50: '#8f5d9d',
    500: '#5d1675',
    950: '#000000',
  },
}
SCSS
$custom: #5d1675;
$custom-light: #8f5d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1675",
  "rgb": {
    "r": 93,
    "g": 22,
    "b": 117
  },
  "hsl": {
    "h": 284.842,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.36764,
    "c": 0.15622,
    "h": 315.7
  },
  "luminance": 0.04185
}

Semantic roles & 50–950 ramp

primary
#5D1675
secondary
#58AB3C
accent
#EB3D69
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #5D1675

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

Preview Lab → · Contrast checker → · Palette generator →

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