#5D1977#5D1977

#5D1977 is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.2% C 0.155 H 314.5°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#5D1977
RGBrgb(93, 25, 119)
HSLhsl(283, 65%, 28%)
HSVhsv(283, 79%, 47%)
CMYKcmyk(21.8%, 79%, 0%, 53.3%)
CIE-LABlab(24.81, 44.94, -39.11)
CIE-LCHlch(24.81, 59.58, 318.97°)
OKLaboklab(37.19% 0.1086 -0.1104)
OKLCHoklch(37.19% 0.155 314.5)
XYZxyz(8.1910, 4.3546, 17.8582)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1977 #337719
analogous
#2E1977 #5D1977 #771962
triadic
#5D1977 #775D19 #19775D
tetradic
#5D1977 #772E19 #337719 #196277
square
#5D1977 #772E19 #337719 #196277
split-complementary
#5D1977 #627719 #19772E
monochromatic
#140519 #350E44 #5D1977 #8524AA #A936D5

Accessibility & contrast

On white

11.23
#5D1977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#5D1977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1977
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1977#FFFFFF#000000##FFFFFF
##5D19771.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377A
Deuteranopia (green-blind)
#133D75
Tritanopia (blue-blind)
#5B2E47
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5d1977;
/* rgb */ color: rgb(93, 25, 119);
/* oklch */ color: oklch(37.2% 0.155 314.5);
Tailwind
colors: {
  custom: {
    50: '#8f5e9f',
    500: '#5d1977',
    950: '#000000',
  },
}
SCSS
$custom: #5d1977;
$custom-light: #8f5e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1977",
  "rgb": {
    "r": 93,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 283.404,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37189,
    "c": 0.15488,
    "h": 314.5
  },
  "luminance": 0.04354
}

Semantic roles & 50–950 ramp

primary
#5D1977
secondary
#5EAC40
accent
#E8406E
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #5D1977

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

Preview Lab → · Contrast checker → · Palette generator →

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