#5C1672#5C1672

#5C1672 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.4% C 0.153 H 316.4°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#5C1672
RGBrgb(92, 22, 114)
HSLhsl(286, 68%, 27%)
HSVhsv(286, 81%, 45%)
CMYKcmyk(19.3%, 80.7%, 0%, 55.3%)
CIE-LABlab(23.88, 44.79, -37.42)
CIE-LCHlch(23.88, 58.36, 320.12°)
OKLaboklab(36.38% 0.1109 -0.1054)
OKLCHoklch(36.38% 0.153 316.4)
XYZxyz(7.7373, 4.0644, 16.2933)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1672 #2C7216
analogous
#2E1672 #5C1672 #72165A
triadic
#5C1672 #725C16 #16725C
tetradic
#5C1672 #722E16 #2C7216 #165A72
square
#5C1672 #722E16 #2C7216 #165A72
split-complementary
#5C1672 #5A7216 #16722E
monochromatic
#15051A #330C3F #5C1672 #8520A5 #AE2CD6

Accessibility & contrast

On white

11.58
#5C1672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#5C1672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1672
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1672#FFFFFF#000000##FFFFFF
##5C16721.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#163B70
Tritanopia (blue-blind)
#5B2B44
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5c1672;
/* rgb */ color: rgb(92, 22, 114);
/* oklch */ color: oklch(36.4% 0.153 316.4);
Tailwind
colors: {
  custom: {
    50: '#8e5c9b',
    500: '#5c1672',
    950: '#000000',
  },
}
SCSS
$custom: #5c1672;
$custom-light: #8e5c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1672",
  "rgb": {
    "r": 92,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 285.652,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.36383,
    "c": 0.15303,
    "h": 316.4
  },
  "luminance": 0.04064
}

Semantic roles & 50–950 ramp

primary
#5C1672
secondary
#56A83C
accent
#EB3D67
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5C1672

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

Preview Lab → · Contrast checker → · Palette generator →

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