#5C1367#5C1367

#5C1367 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.3% C 0.146 H 322.0°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#5C1367
RGBrgb(92, 19, 103)
HSLhsl(292, 69%, 24%)
HSVhsv(292, 82%, 40%)
CMYKcmyk(10.7%, 81.6%, 0%, 59.6%)
CIE-LABlab(22.73, 43.60, -32.15)
CIE-LCHlch(22.73, 54.17, 323.59°)
OKLaboklab(35.31% 0.1152 -0.09)
OKLCHoklch(35.31% 0.146 322)
XYZxyz(7.0944, 3.7207, 13.1738)
Luminance0.0372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1367 #1E6713
analogous
#321367 #5C1367 #671348
triadic
#5C1367 #675C13 #13675C
tetradic
#5C1367 #673213 #1E6713 #134867
square
#5C1367 #673213 #1E6713 #134867
split-complementary
#5C1367 #486713 #136732
monochromatic
#17051A #2E0933 #5C1367 #8A1D9B #B826CE

Accessibility & contrast

On white

12.04
#5C1367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1367
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1367#FFFFFF#000000##FFFFFF
##5C13671.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003169
Deuteranopia (green-blind)
#1F3965
Tritanopia (blue-blind)
#5D243D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5c1367;
/* rgb */ color: rgb(92, 19, 103);
/* oklch */ color: oklch(35.3% 0.146 322.0);
Tailwind
colors: {
  custom: {
    50: '#8d5b93',
    500: '#5c1367',
    950: '#000000',
  },
}
SCSS
$custom: #5c1367;
$custom-light: #8d5b93;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1367",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 103
  },
  "hsl": {
    "h": 292.143,
    "s": 68.852,
    "l": 23.922
  },
  "oklch": {
    "l": 0.35312,
    "c": 0.14616,
    "h": 322
  },
  "luminance": 0.0372
}

Semantic roles & 50–950 ramp

primary
#5C1367
secondary
#459E37
accent
#EC3C53
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0D040D
muted
#7D797E

Preview Lab

Preview with #5C1367

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

Preview Lab → · Contrast checker → · Palette generator →

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