#5C1977#5C1977

#5C1977 is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.0% C 0.155 H 313.9°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#5C1977
RGBrgb(92, 25, 119)
HSLhsl(283, 65%, 28%)
HSVhsv(283, 79%, 47%)
CMYKcmyk(22.7%, 79%, 0%, 53.3%)
CIE-LABlab(24.65, 44.74, -39.38)
CIE-LCHlch(24.65, 59.60, 318.64°)
OKLaboklab(37.04% 0.1072 -0.1112)
OKLCHoklch(37.04% 0.155 313.9)
XYZxyz(8.0905, 4.3028, 17.8535)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1977 #347719
analogous
#2D1977 #5C1977 #771963
triadic
#5C1977 #775C19 #19775C
tetradic
#5C1977 #772D19 #347719 #196377
square
#5C1977 #772D19 #347719 #196377
split-complementary
#5C1977 #637719 #19772D
monochromatic
#140519 #350E44 #5C1977 #8324AA #A736D5

Accessibility & contrast

On white

11.29
#5C1977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#5C1977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1977
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1977#FFFFFF#000000##FFFFFF
##5C19771.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377A
Deuteranopia (green-blind)
#113C75
Tritanopia (blue-blind)
#592F47
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5c1977;
/* rgb */ color: rgb(92, 25, 119);
/* oklch */ color: oklch(37.0% 0.155 313.9);
Tailwind
colors: {
  custom: {
    50: '#8e5e9f',
    500: '#5c1977',
    950: '#000000',
  },
}
SCSS
$custom: #5c1977;
$custom-light: #8e5e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1977",
  "rgb": {
    "r": 92,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 282.766,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37041,
    "c": 0.15451,
    "h": 313.9
  },
  "luminance": 0.04302
}

Semantic roles & 50–950 ramp

primary
#5C1977
secondary
#5FAC40
accent
#E84070
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #5C1977

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

Preview Lab → · Contrast checker → · Palette generator →

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