#5C1679#5C1679

#5C1679 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.9% C 0.160 H 313.4°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#5C1679
RGBrgb(92, 22, 121)
HSLhsl(282, 69%, 28%)
HSVhsv(282, 82%, 47%)
CMYKcmyk(24%, 81.8%, 0%, 52.5%)
CIE-LABlab(24.42, 46.28, -41.03)
CIE-LCHlch(24.42, 61.85, 318.44°)
OKLaboklab(36.93% 0.1096 -0.1161)
OKLCHoklch(36.93% 0.16 313.4)
XYZxyz(8.1511, 4.2299, 18.4725)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1679 #337916
analogous
#2A1679 #5C1679 #791664
triadic
#5C1679 #795C16 #16795C
tetradic
#5C1679 #792A16 #337916 #166479
square
#5C1679 #792A16 #337916 #166479
split-complementary
#5C1679 #647916 #16792A
monochromatic
#14051A #350D45 #5C1679 #831FAD #A830D9

Accessibility & contrast

On white

11.38
#5C1679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#5C1679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1679
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1679#FFFFFF#000000##FFFFFF
##5C16791.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367C
Deuteranopia (green-blind)
#093B77
Tritanopia (blue-blind)
#592E48
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5c1679;
/* rgb */ color: rgb(92, 22, 121);
/* oklch */ color: oklch(36.9% 0.160 313.4);
Tailwind
colors: {
  custom: {
    50: '#8e5da0',
    500: '#5c1679',
    950: '#000000',
  },
}
SCSS
$custom: #5c1679;
$custom-light: #8e5da0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1679",
  "rgb": {
    "r": 92,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 282.424,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36927,
    "c": 0.15963,
    "h": 313.4
  },
  "luminance": 0.0423
}

Semantic roles & 50–950 ramp

primary
#5C1679
secondary
#5EAE3D
accent
#EC3C6F
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D050F
muted
#7E797E

Preview Lab

Preview with #5C1679

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

Preview Lab → · Contrast checker → · Palette generator →

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