#5C1060#5C1060

#5C1060 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.6% C 0.143 H 325.8°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#5C1060
RGBrgb(92, 16, 96)
HSLhsl(297, 71%, 22%)
HSVhsv(297, 83%, 38%)
CMYKcmyk(4.2%, 83.3%, 0%, 62.4%)
CIE-LABlab(21.91, 43.24, -28.86)
CIE-LCHlch(21.91, 51.98, 326.28°)
OKLaboklab(34.58% 0.1185 -0.0803)
OKLCHoklch(34.58% 0.143 325.8)
XYZxyz(6.7101, 3.4909, 11.3844)
Luminance0.0349 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1060 #146010
analogous
#341060 #5C1060 #60103C
triadic
#5C1060 #605C10 #10605C
tetradic
#5C1060 #603410 #146010 #103C60
square
#5C1060 #603410 #146010 #103C60
split-complementary
#5C1060 #3C6010 #106034
monochromatic
#19041A #2A072C #5C1060 #8E1994 #C121C9

Accessibility & contrast

On white

12.37
#5C1060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5C1060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1060
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1060#FFFFFF#000000##FFFFFF
##5C10601.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F62
Deuteranopia (green-blind)
#23385E
Tritanopia (blue-blind)
#5E1F38
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5c1060;
/* rgb */ color: rgb(92, 16, 96);
/* oklch */ color: oklch(34.6% 0.143 325.8);
Tailwind
colors: {
  custom: {
    50: '#8d598d',
    500: '#5c1060',
    950: '#000000',
  },
}
SCSS
$custom: #5c1060;
$custom-light: #8d598d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1060",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 96
  },
  "hsl": {
    "h": 297,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.34582,
    "c": 0.14313,
    "h": 325.8
  },
  "luminance": 0.0349
}

Semantic roles & 50–950 ramp

primary
#5C1060
secondary
#389933
accent
#EE3A43
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040C
muted
#7D797D

Preview Lab

Preview with #5C1060

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

Preview Lab → · Contrast checker → · Palette generator →

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