#5C1677#5C1677

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

Color values

HEX#5C1677
RGBrgb(92, 22, 119)
HSLhsl(283, 69%, 28%)
HSVhsv(283, 82%, 47%)
CMYKcmyk(22.7%, 81.5%, 0%, 53.3%)
CIE-LABlab(24.26, 45.85, -40.01)
CIE-LCHlch(24.26, 60.85, 318.89°)
OKLaboklab(36.77% 0.11 -0.1131)
OKLCHoklch(36.77% 0.158 314.2)
XYZxyz(8.0297, 4.1813, 17.8333)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1677 #317716
analogous
#2C1677 #5C1677 #771661
triadic
#5C1677 #775C16 #16775C
tetradic
#5C1677 #772C16 #317716 #166177
square
#5C1677 #772C16 #317716 #166177
split-complementary
#5C1677 #617716 #16772C
monochromatic
#14051A #340C43 #5C1677 #8420AB #A92FD9

Accessibility & contrast

On white

11.44
#5C1677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1677
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1677#FFFFFF#000000##FFFFFF
##5C16771.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367A
Deuteranopia (green-blind)
#0D3B75
Tritanopia (blue-blind)
#592D46
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5c1677;
/* rgb */ color: rgb(92, 22, 119);
/* oklch */ color: oklch(36.8% 0.158 314.2);
Tailwind
colors: {
  custom: {
    50: '#8e5d9f',
    500: '#5c1677',
    950: '#000000',
  },
}
SCSS
$custom: #5c1677;
$custom-light: #8e5d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1677",
  "rgb": {
    "r": 92,
    "g": 22,
    "b": 119
  },
  "hsl": {
    "h": 283.299,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.36769,
    "c": 0.15774,
    "h": 314.2
  },
  "luminance": 0.04181
}

Semantic roles & 50–950 ramp

primary
#5C1677
secondary
#5CAC3C
accent
#EC3C6D
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #5C1677

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

Preview Lab → · Contrast checker → · Palette generator →

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