#5C1961#5C1961

#5C1961 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.5% C 0.134 H 324.9°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#5C1961
RGBrgb(92, 25, 97)
HSLhsl(296, 59%, 24%)
HSVhsv(296, 74%, 38%)
CMYKcmyk(5.2%, 74.2%, 0%, 62%)
CIE-LABlab(23.12, 40.17, -27.60)
CIE-LCHlch(23.12, 48.74, 325.51°)
OKLaboklab(35.46% 0.1094 -0.0767)
OKLCHoklch(35.46% 0.134 324.9)
XYZxyz(6.9188, 3.8341, 11.6826)
Luminance0.0383 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1961 #1E6119
analogous
#381961 #5C1961 #611942
triadic
#5C1961 #615C19 #19615C
tetradic
#5C1961 #613819 #1E6119 #194261
square
#5C1961 #613819 #1E6119 #194261
split-complementary
#5C1961 #426119 #196138
monochromatic
#170618 #2E0C30 #5C1961 #8A2692 #B832C2

Accessibility & contrast

On white

11.89
#5C1961 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#5C1961 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1961
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1961#FFFFFF#000000##FFFFFF
##5C19611.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073263
Deuteranopia (green-blind)
#273A5F
Tritanopia (blue-blind)
#5E253B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5c1961;
/* rgb */ color: rgb(92, 25, 97);
/* oklch */ color: oklch(35.5% 0.134 324.9);
Tailwind
colors: {
  custom: {
    50: '#8d5d8e',
    500: '#5c1961',
    950: '#000000',
  },
}
SCSS
$custom: #5c1961;
$custom-light: #8d5d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1961",
  "rgb": {
    "r": 92,
    "g": 25,
    "b": 97
  },
  "hsl": {
    "h": 295.833,
    "s": 59.016,
    "l": 23.922
  },
  "oklch": {
    "l": 0.35462,
    "c": 0.13361,
    "h": 324.9
  },
  "luminance": 0.03834
}

Semantic roles & 50–950 ramp

primary
#5C1961
secondary
#45973F
accent
#E24650
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #5C1961

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

Preview Lab → · Contrast checker → · Palette generator →

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