#5C1076#5C1076

#5C1076 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.2% C 0.162 H 315.1°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#5C1076
RGBrgb(92, 16, 118)
HSLhsl(285, 76%, 26%)
HSVhsv(285, 86%, 46%)
CMYKcmyk(22%, 86.4%, 0%, 53.7%)
CIE-LABlab(23.52, 47.57, -40.57)
CIE-LCHlch(23.52, 62.52, 319.54°)
OKLaboklab(36.22% 0.115 -0.1147)
OKLCHoklch(36.22% 0.162 315.1)
XYZxyz(7.8684, 3.9542, 17.4848)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1076 #2A7610
analogous
#291076 #5C1076 #76105D
triadic
#5C1076 #765C10 #10765C
tetradic
#5C1076 #762910 #2A7610 #105D76
square
#5C1076 #762910 #2A7610 #105D76
split-complementary
#5C1076 #5D7610 #107629
monochromatic
#15041B #320940 #5C1076 #8617AC #B020E1

Accessibility & contrast

On white

11.73
#5C1076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#5C1076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1076
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1076#FFFFFF#000000##FFFFFF
##5C10761.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#083A74
Tritanopia (blue-blind)
#5A2A45
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5c1076;
/* rgb */ color: rgb(92, 16, 118);
/* oklch */ color: oklch(36.2% 0.162 315.1);
Tailwind
colors: {
  custom: {
    50: '#8e5a9e',
    500: '#5c1076',
    950: '#000000',
  },
}
SCSS
$custom: #5c1076;
$custom-light: #8e5a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1076",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 118
  },
  "hsl": {
    "h": 284.706,
    "s": 76.119,
    "l": 26.275
  },
  "oklch": {
    "l": 0.36224,
    "c": 0.16241,
    "h": 315.1
  },
  "luminance": 0.03954
}

Semantic roles & 50–950 ramp

primary
#5C1076
secondary
#53AD35
accent
#F33565
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5C1076

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

Preview Lab → · Contrast checker → · Palette generator →

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