#5C1660#5C1660

#5C1660 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.1% C 0.137 H 325.6°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#5C1660
RGBrgb(92, 22, 96)
HSLhsl(297, 63%, 23%)
HSVhsv(297, 77%, 38%)
CMYKcmyk(4.2%, 77.1%, 0%, 62.4%)
CIE-LABlab(22.63, 41.16, -27.71)
CIE-LCHlch(22.63, 49.62, 326.06°)
OKLaboklab(35.1% 0.1127 -0.077)
OKLCHoklch(35.1% 0.137 325.6)
XYZxyz(6.8117, 3.6941, 11.4183)
Luminance0.0369 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1660 #1A6016
analogous
#371660 #5C1660 #60163F
triadic
#5C1660 #605C16 #16605C
tetradic
#5C1660 #603716 #1A6016 #163F60
square
#5C1660 #603716 #1A6016 #163F60
split-complementary
#5C1660 #3F6016 #166037
monochromatic
#180619 #2C0B2E #5C1660 #8C2192 #BB2DC4

Accessibility & contrast

On white

12.08
#5C1660 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#5C1660 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1660
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1660#FFFFFF#000000##FFFFFF
##5C16601.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033162
Deuteranopia (green-blind)
#26395E
Tritanopia (blue-blind)
#5E2239
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5c1660;
/* rgb */ color: rgb(92, 22, 96);
/* oklch */ color: oklch(35.1% 0.137 325.6);
Tailwind
colors: {
  custom: {
    50: '#8d5b8d',
    500: '#5c1660',
    950: '#000000',
  },
}
SCSS
$custom: #5c1660;
$custom-light: #8d5b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1660",
  "rgb": {
    "r": 92,
    "g": 22,
    "b": 96
  },
  "hsl": {
    "h": 296.757,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.35096,
    "c": 0.1365,
    "h": 325.6
  },
  "luminance": 0.03694
}

Semantic roles & 50–950 ramp

primary
#5C1660
secondary
#40973B
accent
#E6424B
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #5C1660

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

Preview Lab → · Contrast checker → · Palette generator →

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