#5C1676#5C1676

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

Color values

HEX#5C1676
RGBrgb(92, 22, 118)
HSLhsl(284, 69%, 27%)
HSVhsv(284, 81%, 46%)
CMYKcmyk(22%, 81.4%, 0%, 53.7%)
CIE-LABlab(24.19, 45.64, -39.49)
CIE-LCHlch(24.19, 60.35, 319.13°)
OKLaboklab(36.69% 0.1102 -0.1115)
OKLCHoklch(36.69% 0.157 314.6)
XYZxyz(7.9700, 4.1574, 17.5187)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1676 #307616
analogous
#2C1676 #5C1676 #761660
triadic
#5C1676 #765C16 #16765C
tetradic
#5C1676 #762C16 #307616 #166076
square
#5C1676 #762C16 #307616 #166076
split-complementary
#5C1676 #607616 #16762C
monochromatic
#14051A #340C42 #5C1676 #8420AA #AA2ED8

Accessibility & contrast

On white

11.47
#5C1676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1676
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1676#FFFFFF#000000##FFFFFF
##5C16761.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003679
Deuteranopia (green-blind)
#0F3B74
Tritanopia (blue-blind)
#5A2D46
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5c1676;
/* rgb */ color: rgb(92, 22, 118);
/* oklch */ color: oklch(36.7% 0.157 314.6);
Tailwind
colors: {
  custom: {
    50: '#8e5d9e',
    500: '#5c1676',
    950: '#000000',
  },
}
SCSS
$custom: #5c1676;
$custom-light: #8e5d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1676",
  "rgb": {
    "r": 92,
    "g": 22,
    "b": 118
  },
  "hsl": {
    "h": 283.75,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.36691,
    "c": 0.1568,
    "h": 314.6
  },
  "luminance": 0.04157
}

Semantic roles & 50–950 ramp

primary
#5C1676
secondary
#5AAC3C
accent
#EB3C6C
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #5C1676

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

Preview Lab → · Contrast checker → · Palette generator →

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