#5C1366#5C1366

#5C1366 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.2% C 0.145 H 322.5°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#5C1366
RGBrgb(92, 19, 102)
HSLhsl(293, 69%, 24%)
HSVhsv(293, 81%, 40%)
CMYKcmyk(9.8%, 81.4%, 0%, 60%)
CIE-LABlab(22.66, 43.40, -31.61)
CIE-LCHlch(22.66, 53.69, 323.94°)
OKLaboklab(35.24% 0.1153 -0.0884)
OKLCHoklch(35.24% 0.145 322.5)
XYZxyz(7.0445, 3.7008, 12.9111)
Luminance0.0370 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1366 #1D6613
analogous
#321366 #5C1366 #661346
triadic
#5C1366 #665C13 #13665C
tetradic
#5C1366 #663213 #1D6613 #134666
square
#5C1366 #663213 #1D6613 #134666
split-complementary
#5C1366 #466613 #136632
monochromatic
#17051A #2D0932 #5C1366 #8B1D9A #B926CD

Accessibility & contrast

On white

12.07
#5C1366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1366
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1366#FFFFFF#000000##FFFFFF
##5C13661.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003168
Deuteranopia (green-blind)
#203964
Tritanopia (blue-blind)
#5D243C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5c1366;
/* rgb */ color: rgb(92, 19, 102);
/* oklch */ color: oklch(35.2% 0.145 322.5);
Tailwind
colors: {
  custom: {
    50: '#8d5b92',
    500: '#5c1366',
    950: '#000000',
  },
}
SCSS
$custom: #5c1366;
$custom-light: #8d5b92;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1366",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 102
  },
  "hsl": {
    "h": 292.771,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.35241,
    "c": 0.14526,
    "h": 322.5
  },
  "luminance": 0.037
}

Semantic roles & 50–950 ramp

primary
#5C1366
secondary
#449D37
accent
#EB3C51
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0D040D
muted
#7D797E

Preview Lab

Preview with #5C1366

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

Preview Lab → · Contrast checker → · Palette generator →

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