#5C1464#5C1464

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

Color values

HEX#5C1464
RGBrgb(92, 20, 100)
HSLhsl(294, 67%, 24%)
HSVhsv(294, 80%, 39%)
CMYKcmyk(8%, 80%, 0%, 60.8%)
CIE-LABlab(22.64, 42.67, -30.32)
CIE-LCHlch(22.64, 52.35, 324.60°)
OKLaboklab(35.19% 0.1145 -0.0847)
OKLCHoklch(35.19% 0.142 323.5)
XYZxyz(6.9638, 3.6962, 12.4008)
Luminance0.0370 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1464 #1C6414
analogous
#341464 #5C1464 #641444
triadic
#5C1464 #645C14 #14645C
tetradic
#5C1464 #643414 #1C6414 #144464
square
#5C1464 #643414 #1C6414 #144464
split-complementary
#5C1464 #446414 #146434
monochromatic
#17051A #2D0A31 #5C1464 #8B1E97 #BA28CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C1464#FFFFFF#000000##FFFFFF
##5C14641.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)
#003166
Deuteranopia (green-blind)
#223962
Tritanopia (blue-blind)
#5E233B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5c1464;
/* rgb */ color: rgb(92, 20, 100);
/* oklch */ color: oklch(35.2% 0.142 323.5);
Tailwind
colors: {
  custom: {
    50: '#8d5b90',
    500: '#5c1464',
    950: '#000000',
  },
}
SCSS
$custom: #5c1464;
$custom-light: #8d5b90;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1464",
  "rgb": {
    "r": 92,
    "g": 20,
    "b": 100
  },
  "hsl": {
    "h": 294,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.35186,
    "c": 0.1424,
    "h": 323.5
  },
  "luminance": 0.03696
}

Semantic roles & 50–950 ramp

primary
#5C1464
secondary
#429B38
accent
#EA3E4F
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040C
muted
#7D797D

Preview Lab

Preview with #5C1464

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

Preview Lab → · Contrast checker → · Palette generator →

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