#5C1963#5C1963

#5C1963 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.6% C 0.135 H 323.8°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#5C1963
RGBrgb(92, 25, 99)
HSLhsl(294, 60%, 24%)
HSVhsv(294, 75%, 39%)
CMYKcmyk(7.1%, 74.7%, 0%, 61.2%)
CIE-LABlab(23.24, 40.56, -28.71)
CIE-LCHlch(23.24, 49.69, 324.71°)
OKLaboklab(35.6% 0.1093 -0.08)
OKLCHoklch(35.6% 0.135 323.8)
XYZxyz(7.0132, 3.8718, 12.1799)
Luminance0.0387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1963 #206319
analogous
#371963 #5C1963 #631945
triadic
#5C1963 #635C19 #19635C
tetradic
#5C1963 #633719 #206319 #194563
square
#5C1963 #633719 #206319 #194563
split-complementary
#5C1963 #456319 #196337
monochromatic
#170618 #2F0D32 #5C1963 #892594 #B732C5

Accessibility & contrast

On white

11.84
#5C1963 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1963
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1963#FFFFFF#000000##FFFFFF
##5C19631.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033265
Deuteranopia (green-blind)
#263A61
Tritanopia (blue-blind)
#5E263C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5c1963;
/* rgb */ color: rgb(92, 25, 99);
/* oklch */ color: oklch(35.6% 0.135 323.8);
Tailwind
colors: {
  custom: {
    50: '#8d5d90',
    500: '#5c1963',
    950: '#000000',
  },
}
SCSS
$custom: #5c1963;
$custom-light: #8d5d90;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1963",
  "rgb": {
    "r": 92,
    "g": 25,
    "b": 99
  },
  "hsl": {
    "h": 294.324,
    "s": 59.677,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35595,
    "c": 0.13546,
    "h": 323.8
  },
  "luminance": 0.03871
}

Semantic roles & 50–950 ramp

primary
#5C1963
secondary
#47993F
accent
#E34554
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #5C1963

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

Preview Lab → · Contrast checker → · Palette generator →

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