#5C1362#5C1362

#5C1362 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.0% C 0.142 H 324.6°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#5C1362
RGBrgb(92, 19, 98)
HSLhsl(295, 68%, 23%)
HSVhsv(295, 81%, 38%)
CMYKcmyk(6.1%, 80.6%, 0%, 61.6%)
CIE-LABlab(22.38, 42.63, -29.42)
CIE-LCHlch(22.38, 51.80, 325.39°)
OKLaboklab(34.96% 0.1156 -0.082)
OKLCHoklch(34.96% 0.142 324.6)
XYZxyz(6.8509, 3.6233, 11.8914)
Luminance0.0362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1362 #196213
analogous
#341362 #5C1362 #621340
triadic
#5C1362 #625C13 #13625C
tetradic
#5C1362 #623413 #196213 #134062
square
#5C1362 #623413 #196213 #134062
split-complementary
#5C1362 #406213 #136234
monochromatic
#18051A #2C092F #5C1362 #8C1D95 #BC27C9

Accessibility & contrast

On white

12.18
#5C1362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5C1362 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1362
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1362#FFFFFF#000000##FFFFFF
##5C13621.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003064
Deuteranopia (green-blind)
#233860
Tritanopia (blue-blind)
#5E223A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5c1362;
/* rgb */ color: rgb(92, 19, 98);
/* oklch */ color: oklch(35.0% 0.142 324.6);
Tailwind
colors: {
  custom: {
    50: '#8d5a8f',
    500: '#5c1362',
    950: '#000000',
  },
}
SCSS
$custom: #5c1362;
$custom-light: #8d5a8f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1362",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 98
  },
  "hsl": {
    "h": 295.443,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34961,
    "c": 0.14173,
    "h": 324.6
  },
  "luminance": 0.03623
}

Semantic roles & 50–950 ramp

primary
#5C1362
secondary
#3F9A37
accent
#EA3D4B
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040C
muted
#7D797D

Preview Lab

Preview with #5C1362

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

Preview Lab → · Contrast checker → · Palette generator →

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