#5C1081#5C1081

#5C1081 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 37.1% C 0.172 H 310.6°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#5C1081
RGBrgb(92, 16, 129)
HSLhsl(280, 78%, 28%)
HSVhsv(280, 88%, 51%)
CMYKcmyk(28.7%, 87.6%, 0%, 49.4%)
CIE-LABlab(24.42, 49.90, -46.10)
CIE-LCHlch(24.42, 67.93, 317.26°)
OKLaboklab(37.13% 0.1121 -0.1309)
OKLCHoklch(37.13% 0.172 310.6)
XYZxyz(8.5606, 4.2311, 21.1303)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1081 #358110
analogous
#231081 #5C1081 #81106D
triadic
#5C1081 #815C10 #10815C
tetradic
#5C1081 #812310 #358110 #106D81
square
#5C1081 #812310 #358110 #106D81
split-complementary
#5C1081 #6D8110 #108123
monochromatic
#13031B #35094B #5C1081 #8317B7 #A627E4

Accessibility & contrast

On white

11.37
#5C1081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#5C1081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1081
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1081#FFFFFF#000000##FFFFFF
##5C10811.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003784
Deuteranopia (green-blind)
#003B7F
Tritanopia (blue-blind)
#572F4B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5c1081;
/* rgb */ color: rgb(92, 16, 129);
/* oklch */ color: oklch(37.1% 0.172 310.6);
Tailwind
colors: {
  custom: {
    50: '#8f5ba6',
    500: '#5c1081',
    950: '#000000',
  },
}
SCSS
$custom: #5c1081;
$custom-light: #8f5ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1081",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 129
  },
  "hsl": {
    "h": 280.354,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.37134,
    "c": 0.17235,
    "h": 310.6
  },
  "luminance": 0.04231
}

Semantic roles & 50–950 ramp

primary
#5C1081
secondary
#60B736
accent
#F43373
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D040F
muted
#7E797F

Preview Lab

Preview with #5C1081

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

Preview Lab → · Contrast checker → · Palette generator →

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