#5C1380#5C1380

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

Color values

HEX#5C1380
RGBrgb(92, 19, 128)
HSLhsl(280, 74%, 29%)
HSVhsv(280, 85%, 50%)
CMYKcmyk(28.1%, 85.2%, 0%, 49.8%)
CIE-LABlab(24.64, 48.80, -45.11)
CIE-LCHlch(24.64, 66.46, 317.25°)
OKLaboklab(37.26% 0.1103 -0.128)
OKLCHoklch(37.26% 0.169 310.7)
XYZxyz(8.5420, 4.2998, 20.7978)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1380 #378013
analogous
#251380 #5C1380 #80136E
triadic
#5C1380 #805C13 #13805C
tetradic
#5C1380 #802513 #378013 #136E80
square
#5C1380 #802513 #378013 #136E80
split-complementary
#5C1380 #6E8013 #138025
monochromatic
#13041B #360B4B #5C1380 #821BB5 #A52DE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C1380#FFFFFF#000000##FFFFFF
##5C13801.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)
#003783
Deuteranopia (green-blind)
#003C7E
Tritanopia (blue-blind)
#57304B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5c1380;
/* rgb */ color: rgb(92, 19, 128);
/* oklch */ color: oklch(37.3% 0.169 310.7);
Tailwind
colors: {
  custom: {
    50: '#8f5ca6',
    500: '#5c1380',
    950: '#000000',
  },
}
SCSS
$custom: #5c1380;
$custom-light: #8f5ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1380",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 280.183,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37259,
    "c": 0.16899,
    "h": 310.7
  },
  "luminance": 0.043
}

Semantic roles & 50–950 ramp

primary
#5C1380
secondary
#62B539
accent
#F13774
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D040F
muted
#7E797F

Preview Lab

Preview with #5C1380

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

Preview Lab → · Contrast checker → · Palette generator →

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