#5C1E79#5C1E79

#5C1E79 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.7% C 0.151 H 312.6°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#5C1E79
RGBrgb(92, 30, 121)
HSLhsl(281, 60%, 30%)
HSVhsv(281, 75%, 47%)
CMYKcmyk(24%, 75.2%, 0%, 52.5%)
CIE-LABlab(25.52, 43.13, -39.26)
CIE-LCHlch(25.52, 58.32, 317.69°)
OKLaboklab(37.7% 0.1018 -0.1109)
OKLCHoklch(37.7% 0.151 312.6)
XYZxyz(8.3285, 4.5846, 18.5316)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1E79 #3B791E
analogous
#2F1E79 #5C1E79 #791E69
triadic
#5C1E79 #795C1E #1E795C
tetradic
#5C1E79 #792F1E #3B791E #1E6979
square
#5C1E79 #792F1E #3B791E #1E6979
split-complementary
#5C1E79 #69791E #1E792F
monochromatic
#130619 #371248 #5C1E79 #812AAA #A341D0

Accessibility & contrast

On white

10.96
#5C1E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#5C1E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1E79
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1E79#FFFFFF#000000##FFFFFF
##5C1E791.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#143E77
Tritanopia (blue-blind)
#59324A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5c1e79;
/* rgb */ color: rgb(92, 30, 121);
/* oklch */ color: oklch(37.7% 0.151 312.6);
Tailwind
colors: {
  custom: {
    50: '#8e60a0',
    500: '#5c1e79',
    950: '#000000',
  },
}
SCSS
$custom: #5c1e79;
$custom-light: #8e60a0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1e79",
  "rgb": {
    "r": 92,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 280.879,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37704,
    "c": 0.15057,
    "h": 312.6
  },
  "luminance": 0.04584
}

Semantic roles & 50–950 ramp

primary
#5C1E79
secondary
#67AD46
accent
#E34477
background
#F9F5F9
surface
#F1EAF2
border
#CBC6CC
text
#0D050F
muted
#7E797E

Preview Lab

Preview with #5C1E79

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

Preview Lab → · Contrast checker → · Palette generator →

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