#5C1361#5C1361

#5C1361 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.9% C 0.141 H 325.2°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#5C1361
RGBrgb(92, 19, 97)
HSLhsl(296, 67%, 23%)
HSVhsv(296, 80%, 38%)
CMYKcmyk(5.2%, 80.4%, 0%, 62%)
CIE-LABlab(22.32, 42.44, -28.87)
CIE-LCHlch(22.32, 51.33, 325.78°)
OKLaboklab(34.89% 0.1157 -0.0804)
OKLCHoklch(34.89% 0.141 325.2)
XYZxyz(6.8040, 3.6046, 11.6443)
Luminance0.0360 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1361 #186113
analogous
#351361 #5C1361 #61133F
triadic
#5C1361 #615C13 #13615C
tetradic
#5C1361 #613513 #186113 #133F61
square
#5C1361 #613513 #186113 #133F61
split-complementary
#5C1361 #3F6113 #136135
monochromatic
#18051A #2B092E #5C1361 #8D1D94 #BD27C7

Accessibility & contrast

On white

12.20
#5C1361 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5C1361 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1361
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1361#FFFFFF#000000##FFFFFF
##5C13611.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003063
Deuteranopia (green-blind)
#24385F
Tritanopia (blue-blind)
#5E2139
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5c1361;
/* rgb */ color: rgb(92, 19, 97);
/* oklch */ color: oklch(34.9% 0.141 325.2);
Tailwind
colors: {
  custom: {
    50: '#8d5a8e',
    500: '#5c1361',
    950: '#000000',
  },
}
SCSS
$custom: #5c1361;
$custom-light: #8d5a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1361",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 97
  },
  "hsl": {
    "h": 296.154,
    "s": 67.241,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34893,
    "c": 0.14086,
    "h": 325.2
  },
  "luminance": 0.03604
}

Semantic roles & 50–950 ramp

primary
#5C1361
secondary
#3D9937
accent
#EA3E49
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040C
muted
#7D797D

Preview Lab

Preview with #5C1361

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

Preview Lab → · Contrast checker → · Palette generator →

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