#5C1364#5C1364

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

Color values

HEX#5C1364
RGBrgb(92, 19, 100)
HSLhsl(294, 68%, 23%)
HSVhsv(294, 81%, 39%)
CMYKcmyk(8%, 81%, 0%, 60.8%)
CIE-LABlab(22.52, 43.02, -30.52)
CIE-LCHlch(22.52, 52.74, 324.65°)
OKLaboklab(35.1% 0.1155 -0.0852)
OKLCHoklch(35.1% 0.144 323.6)
XYZxyz(6.9465, 3.6616, 12.3950)
Luminance0.0366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1364 #1B6413
analogous
#331364 #5C1364 #641343
triadic
#5C1364 #645C13 #13645C
tetradic
#5C1364 #643313 #1B6413 #134364
square
#5C1364 #643313 #1B6413 #134364
split-complementary
#5C1364 #436413 #136433
monochromatic
#18051A #2D0931 #5C1364 #8B1D97 #BB27CB

Accessibility & contrast

On white

12.12
#5C1364 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#5C1364 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1364
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1364#FFFFFF#000000##FFFFFF
##5C13641.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003066
Deuteranopia (green-blind)
#223962
Tritanopia (blue-blind)
#5E233B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5c1364;
/* rgb */ color: rgb(92, 19, 100);
/* oklch */ color: oklch(35.1% 0.143 323.6);
Tailwind
colors: {
  custom: {
    50: '#8d5a90',
    500: '#5c1364',
    950: '#000000',
  },
}
SCSS
$custom: #5c1364;
$custom-light: #8d5a90;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1364",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 100
  },
  "hsl": {
    "h": 294.074,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.351,
    "c": 0.1435,
    "h": 323.6
  },
  "luminance": 0.03661
}

Semantic roles & 50–950 ramp

primary
#5C1364
secondary
#419C37
accent
#EB3D4E
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040C
muted
#7D797D

Preview Lab

Preview with #5C1364

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

Preview Lab → · Contrast checker → · Palette generator →

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