#5C1574#5C1574

#5C1574 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.4% C 0.156 H 315.6°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#5C1574
RGBrgb(92, 21, 116)
HSLhsl(285, 69%, 27%)
HSVhsv(285, 82%, 45%)
CMYKcmyk(20.7%, 81.9%, 0%, 54.5%)
CIE-LABlab(23.91, 45.56, -38.66)
CIE-LCHlch(23.91, 59.75, 319.69°)
OKLaboklab(36.45% 0.1115 -0.1091)
OKLCHoklch(36.45% 0.156 315.6)
XYZxyz(7.8337, 4.0729, 16.8931)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1574 #2D7415
analogous
#2D1574 #5C1574 #74155D
triadic
#5C1574 #745C15 #15745C
tetradic
#5C1574 #742D15 #2D7415 #155D74
square
#5C1574 #742D15 #2D7415 #155D74
split-complementary
#5C1574 #5D7415 #15742D
monochromatic
#15051A #330C40 #5C1574 #851EA8 #AD2BD9

Accessibility & contrast

On white

11.57
#5C1574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#5C1574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1574
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1574#FFFFFF#000000##FFFFFF
##5C15741.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003577
Deuteranopia (green-blind)
#123B72
Tritanopia (blue-blind)
#5A2B45
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5c1574;
/* rgb */ color: rgb(92, 21, 116);
/* oklch */ color: oklch(36.4% 0.156 315.6);
Tailwind
colors: {
  custom: {
    50: '#8e5c9d',
    500: '#5c1574',
    950: '#000000',
  },
}
SCSS
$custom: #5c1574;
$custom-light: #8e5c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1574",
  "rgb": {
    "r": 92,
    "g": 21,
    "b": 116
  },
  "hsl": {
    "h": 284.842,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3645,
    "c": 0.15595,
    "h": 315.6
  },
  "luminance": 0.04073
}

Semantic roles & 50–950 ramp

primary
#5C1574
secondary
#57AA3B
accent
#EC3C68
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5C1574

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

Preview Lab → · Contrast checker → · Palette generator →

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