#5C1670#5C1670

#5C1670 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.2% C 0.151 H 317.4°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#5C1670
RGBrgb(92, 22, 112)
HSLhsl(287, 67%, 26%)
HSVhsv(287, 80%, 44%)
CMYKcmyk(17.9%, 80.4%, 0%, 56.1%)
CIE-LABlab(23.74, 44.37, -36.37)
CIE-LCHlch(23.74, 57.37, 320.66°)
OKLaboklab(36.23% 0.1112 -0.1024)
OKLCHoklch(36.23% 0.151 317.4)
XYZxyz(7.6247, 4.0193, 15.7003)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1670 #2A7016
analogous
#2F1670 #5C1670 #701657
triadic
#5C1670 #705C16 #16705C
tetradic
#5C1670 #702F16 #2A7016 #165770
square
#5C1670 #702F16 #2A7016 #165770
split-complementary
#5C1670 #577016 #16702F
monochromatic
#15051A #320C3D #5C1670 #8620A3 #B02BD5

Accessibility & contrast

On white

11.64
#5C1670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#5C1670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1670
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1670#FFFFFF#000000##FFFFFF
##5C16701.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003472
Deuteranopia (green-blind)
#183B6E
Tritanopia (blue-blind)
#5B2A42
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5c1670;
/* rgb */ color: rgb(92, 22, 112);
/* oklch */ color: oklch(36.2% 0.151 317.4);
Tailwind
colors: {
  custom: {
    50: '#8e5c9a',
    500: '#5c1670',
    950: '#000000',
  },
}
SCSS
$custom: #5c1670;
$custom-light: #8e5c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1670",
  "rgb": {
    "r": 92,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 286.667,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.36231,
    "c": 0.15116,
    "h": 317.4
  },
  "luminance": 0.04019
}

Semantic roles & 50–950 ramp

primary
#5C1670
secondary
#53A63C
accent
#EA3E64
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5C1670

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

Preview Lab → · Contrast checker → · Palette generator →

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