#5C1368#5C1368

#5C1368 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.4% C 0.147 H 321.5°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#5C1368
RGBrgb(92, 19, 104)
HSLhsl(292, 69%, 24%)
HSVhsv(292, 82%, 41%)
CMYKcmyk(11.5%, 81.7%, 0%, 59.2%)
CIE-LABlab(22.80, 43.80, -32.69)
CIE-LCHlch(22.80, 54.65, 323.26°)
OKLaboklab(35.38% 0.1151 -0.0916)
OKLCHoklch(35.38% 0.147 321.5)
XYZxyz(7.1449, 3.7409, 13.4397)
Luminance0.0374 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1368 #1F6813
analogous
#321368 #5C1368 #68134A
triadic
#5C1368 #685C13 #13685C
tetradic
#5C1368 #683213 #1F6813 #134A68
square
#5C1368 #683213 #1F6813 #134A68
split-complementary
#5C1368 #4A6813 #136832
monochromatic
#17051A #2E0A34 #5C1368 #8A1C9C #B826CF

Accessibility & contrast

On white

12.01
#5C1368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#5C1368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1368
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1368#FFFFFF#000000##FFFFFF
##5C13681.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316A
Deuteranopia (green-blind)
#1F3966
Tritanopia (blue-blind)
#5D253D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5c1368;
/* rgb */ color: rgb(92, 19, 104);
/* oklch */ color: oklch(35.4% 0.147 321.5);
Tailwind
colors: {
  custom: {
    50: '#8d5b94',
    500: '#5c1368',
    950: '#000000',
  },
}
SCSS
$custom: #5c1368;
$custom-light: #8d5b94;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1368",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 104
  },
  "hsl": {
    "h": 291.529,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.35384,
    "c": 0.14705,
    "h": 321.5
  },
  "luminance": 0.03741
}

Semantic roles & 50–950 ramp

primary
#5C1368
secondary
#469F37
accent
#EC3C55
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0D040D
muted
#7D797E

Preview Lab

Preview with #5C1368

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

Preview Lab → · Contrast checker → · Palette generator →

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