#5C1568#5C1568

#5C1568 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.6% C 0.145 H 321.4°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#5C1568
RGBrgb(92, 21, 104)
HSLhsl(291, 66%, 25%)
HSVhsv(291, 80%, 41%)
CMYKcmyk(11.5%, 79.8%, 0%, 59.2%)
CIE-LABlab(23.04, 43.10, -32.30)
CIE-LCHlch(23.04, 53.86, 323.15°)
OKLaboklab(35.56% 0.1132 -0.0904)
OKLCHoklch(35.56% 0.145 321.4)
XYZxyz(7.1802, 3.8115, 13.4515)
Luminance0.0381 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1568 #216815
analogous
#321568 #5C1568 #68154B
triadic
#5C1568 #685C15 #15685C
tetradic
#5C1568 #683215 #216815 #154B68
square
#5C1568 #683215 #216815 #154B68
split-complementary
#5C1568 #4B6815 #156832
monochromatic
#170519 #2F0B35 #5C1568 #891F9B #B62ACE

Accessibility & contrast

On white

11.92
#5C1568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#5C1568 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1568
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1568#FFFFFF#000000##FFFFFF
##5C15681.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326A
Deuteranopia (green-blind)
#203966
Tritanopia (blue-blind)
#5D263E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5c1568;
/* rgb */ color: rgb(92, 21, 104);
/* oklch */ color: oklch(35.6% 0.145 321.4);
Tailwind
colors: {
  custom: {
    50: '#8d5b94',
    500: '#5c1568',
    950: '#000000',
  },
}
SCSS
$custom: #5c1568;
$custom-light: #8d5b94;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1568",
  "rgb": {
    "r": 92,
    "g": 21,
    "b": 104
  },
  "hsl": {
    "h": 291.325,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.35556,
    "c": 0.14488,
    "h": 321.4
  },
  "luminance": 0.03811
}

Semantic roles & 50–950 ramp

primary
#5C1568
secondary
#499F3A
accent
#E93E57
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0D040D
muted
#7D797E

Preview Lab

Preview with #5C1568

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

Preview Lab → · Contrast checker → · Palette generator →

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