#5C1570#5C1570

#5C1570 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.1% C 0.152 H 317.4°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#5C1570
RGBrgb(92, 21, 112)
HSLhsl(287, 68%, 26%)
HSVhsv(287, 81%, 44%)
CMYKcmyk(17.9%, 81.2%, 0%, 56.1%)
CIE-LABlab(23.61, 44.73, -36.57)
CIE-LCHlch(23.61, 57.77, 320.73°)
OKLaboklab(36.14% 0.1121 -0.1029)
OKLCHoklch(36.14% 0.152 317.4)
XYZxyz(7.6060, 3.9818, 15.6940)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1570 #297015
analogous
#2E1570 #5C1570 #701556
triadic
#5C1570 #705C15 #15705C
tetradic
#5C1570 #702E15 #297015 #155670
square
#5C1570 #702E15 #297015 #155670
split-complementary
#5C1570 #567015 #15702E
monochromatic
#15051A #320B3C #5C1570 #861FA4 #B129D7

Accessibility & contrast

On white

11.69
#5C1570 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#5C1570 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1570
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1570#FFFFFF#000000##FFFFFF
##5C15701.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003472
Deuteranopia (green-blind)
#173A6E
Tritanopia (blue-blind)
#5B2942
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5c1570;
/* rgb */ color: rgb(92, 21, 112);
/* oklch */ color: oklch(36.1% 0.152 317.4);
Tailwind
colors: {
  custom: {
    50: '#8e5c9a',
    500: '#5c1570',
    950: '#000000',
  },
}
SCSS
$custom: #5c1570;
$custom-light: #8e5c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1570",
  "rgb": {
    "r": 92,
    "g": 21,
    "b": 112
  },
  "hsl": {
    "h": 286.813,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36144,
    "c": 0.15223,
    "h": 317.4
  },
  "luminance": 0.03981
}

Semantic roles & 50–950 ramp

primary
#5C1570
secondary
#52A63B
accent
#EB3D63
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5C1570

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

Preview Lab → · Contrast checker → · Palette generator →

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