#5C1561#5C1561

#5C1561 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.1% C 0.139 H 325.1°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#5C1561
RGBrgb(92, 21, 97)
HSLhsl(296, 64%, 23%)
HSVhsv(296, 78%, 38%)
CMYKcmyk(5.2%, 78.4%, 0%, 62%)
CIE-LABlab(22.57, 41.73, -28.47)
CIE-LCHlch(22.57, 50.52, 325.70°)
OKLaboklab(35.07% 0.1137 -0.0793)
OKLCHoklch(35.07% 0.139 325.1)
XYZxyz(6.8393, 3.6752, 11.6561)
Luminance0.0367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1561 #1A6115
analogous
#361561 #5C1561 #611540
triadic
#5C1561 #615C15 #15615C
tetradic
#5C1561 #613615 #1A6115 #154061
square
#5C1561 #613615 #1A6115 #154061
split-complementary
#5C1561 #406115 #156136
monochromatic
#180519 #2C0A2F #5C1561 #8C2093 #BB2BC6

Accessibility & contrast

On white

12.10
#5C1561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1561
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1561#FFFFFF#000000##FFFFFF
##5C15611.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003063
Deuteranopia (green-blind)
#25395F
Tritanopia (blue-blind)
#5E223A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5c1561;
/* rgb */ color: rgb(92, 21, 97);
/* oklch */ color: oklch(35.1% 0.139 325.1);
Tailwind
colors: {
  custom: {
    50: '#8d5b8e',
    500: '#5c1561',
    950: '#000000',
  },
}
SCSS
$custom: #5c1561;
$custom-light: #8d5b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1561",
  "rgb": {
    "r": 92,
    "g": 21,
    "b": 97
  },
  "hsl": {
    "h": 296.053,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3507,
    "c": 0.13858,
    "h": 325.1
  },
  "luminance": 0.03675
}

Semantic roles & 50–950 ramp

primary
#5C1561
secondary
#40983A
accent
#E7404B
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #5C1561

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

Preview Lab → · Contrast checker → · Palette generator →

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