#5C1678#5C1678

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

Color values

HEX#5C1678
RGBrgb(92, 22, 120)
HSLhsl(283, 69%, 28%)
HSVhsv(283, 82%, 47%)
CMYKcmyk(23.3%, 81.7%, 0%, 52.9%)
CIE-LABlab(24.34, 46.06, -40.52)
CIE-LCHlch(24.34, 61.35, 318.66°)
OKLaboklab(36.85% 0.1098 -0.1146)
OKLCHoklch(36.85% 0.159 313.8)
XYZxyz(8.0901, 4.2055, 18.1512)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1678 #327816
analogous
#2B1678 #5C1678 #781663
triadic
#5C1678 #785C16 #16785C
tetradic
#5C1678 #782B16 #327816 #166378
square
#5C1678 #782B16 #327816 #166378
split-complementary
#5C1678 #637816 #16782B
monochromatic
#14051A #340D44 #5C1678 #841FAC #A92FD9

Accessibility & contrast

On white

11.41
#5C1678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1678
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1678#FFFFFF#000000##FFFFFF
##5C16781.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367B
Deuteranopia (green-blind)
#0B3B76
Tritanopia (blue-blind)
#592E47
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5c1678;
/* rgb */ color: rgb(92, 22, 120);
/* oklch */ color: oklch(36.8% 0.159 313.8);
Tailwind
colors: {
  custom: {
    50: '#8e5da0',
    500: '#5c1678',
    950: '#000000',
  },
}
SCSS
$custom: #5c1678;
$custom-light: #8e5da0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1678",
  "rgb": {
    "r": 92,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 282.857,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36848,
    "c": 0.15868,
    "h": 313.8
  },
  "luminance": 0.04205
}

Semantic roles & 50–950 ramp

primary
#5C1678
secondary
#5DAD3C
accent
#EC3C6E
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D050F
muted
#7E797E

Preview Lab

Preview with #5C1678

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

Preview Lab → · Contrast checker → · Palette generator →

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