#5C1979#5C1979

#5C1979 is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.2% C 0.156 H 313.1°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#5C1979
RGBrgb(92, 25, 121)
HSLhsl(282, 66%, 29%)
HSVhsv(282, 79%, 47%)
CMYKcmyk(24%, 79.3%, 0%, 52.5%)
CIE-LABlab(24.80, 45.18, -40.41)
CIE-LCHlch(24.80, 60.61, 318.19°)
OKLaboklab(37.2% 0.1069 -0.1143)
OKLCHoklch(37.2% 0.156 313.1)
XYZxyz(8.2118, 4.3513, 18.4928)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1979 #367919
analogous
#2C1979 #5C1979 #791966
triadic
#5C1979 #795C19 #19795C
tetradic
#5C1979 #792C19 #367919 #196679
square
#5C1979 #792C19 #367919 #196679
split-complementary
#5C1979 #667919 #19792C
monochromatic
#130519 #350F46 #5C1979 #8323AC #A637D6

Accessibility & contrast

On white

11.23
#5C1979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#5C1979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1979
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1979#FFFFFF#000000##FFFFFF
##5C19791.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#0D3C77
Tritanopia (blue-blind)
#592F48
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5c1979;
/* rgb */ color: rgb(92, 25, 121);
/* oklch */ color: oklch(37.2% 0.156 313.1);
Tailwind
colors: {
  custom: {
    50: '#8e5ea0',
    500: '#5c1979',
    950: '#000000',
  },
}
SCSS
$custom: #5c1979;
$custom-light: #8e5ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1979",
  "rgb": {
    "r": 92,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 281.875,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.37197,
    "c": 0.15646,
    "h": 313.1
  },
  "luminance": 0.04351
}

Semantic roles & 50–950 ramp

primary
#5C1979
secondary
#61AE40
accent
#E93F72
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D050F
muted
#7E797E

Preview Lab

Preview with #5C1979

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

Preview Lab → · Contrast checker → · Palette generator →

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