#5C1673#5C1673

#5C1673 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.5% C 0.154 H 316.0°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#5C1673
RGBrgb(92, 22, 115)
HSLhsl(285, 68%, 27%)
HSVhsv(285, 81%, 45%)
CMYKcmyk(20%, 80.9%, 0%, 54.9%)
CIE-LABlab(23.96, 45.00, -37.94)
CIE-LCHlch(23.96, 58.86, 319.87°)
OKLaboklab(36.46% 0.1107 -0.107)
OKLCHoklch(36.46% 0.154 316)
XYZxyz(7.7946, 4.0872, 16.5947)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1673 #2D7316
analogous
#2E1673 #5C1673 #73165C
triadic
#5C1673 #735C16 #16735C
tetradic
#5C1673 #732E16 #2D7316 #165C73
square
#5C1673 #732E16 #2D7316 #165C73
split-complementary
#5C1673 #5C7316 #16732E
monochromatic
#15051A #330C40 #5C1673 #8520A6 #AD2DD7

Accessibility & contrast

On white

11.55
#5C1673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#5C1673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1673
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1673#FFFFFF#000000##FFFFFF
##5C16731.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003576
Deuteranopia (green-blind)
#143B71
Tritanopia (blue-blind)
#5A2B44
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5c1673;
/* rgb */ color: rgb(92, 22, 115);
/* oklch */ color: oklch(36.5% 0.154 316.0);
Tailwind
colors: {
  custom: {
    50: '#8e5c9c',
    500: '#5c1673',
    950: '#000000',
  },
}
SCSS
$custom: #5c1673;
$custom-light: #8e5c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1673",
  "rgb": {
    "r": 92,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 285.161,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.36459,
    "c": 0.15397,
    "h": 316
  },
  "luminance": 0.04087
}

Semantic roles & 50–950 ramp

primary
#5C1673
secondary
#57A93C
accent
#EB3D68
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5C1673

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

Preview Lab → · Contrast checker → · Palette generator →

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