#5C1051#5C1051

#5C1051 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.6% C 0.131 H 334.9°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#5C1051
RGBrgb(92, 16, 81)
HSLhsl(309, 70%, 21%)
HSVhsv(309, 83%, 36%)
CMYKcmyk(0%, 82.6%, 12%, 63.9%)
CIE-LABlab(20.98, 40.61, -20.31)
CIE-LCHlch(20.98, 45.40, 333.43°)
OKLaboklab(33.62% 0.1185 -0.0556)
OKLCHoklch(33.62% 0.131 334.9)
XYZxyz(6.0842, 3.2405, 8.0880)
Luminance0.0324 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1051 #105C1B
analogous
#41105C #5C1051 #5C102B
triadic
#5C1051 #515C10 #10515C
tetradic
#5C1051 #5C4110 #105C1B #102B5C
square
#5C1051 #5C4110 #105C1B #102B5C
split-complementary
#5C1051 #2B5C10 #105C41
monochromatic
#1A0517 #280723 #5C1051 #90197F #C422AD

Accessibility & contrast

On white

12.74
#5C1051 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5C1051 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1051
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1051#FFFFFF#000000##FFFFFF
##5C10511.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2B53
Deuteranopia (green-blind)
#2C364F
Tritanopia (blue-blind)
#611730
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c1051;
/* rgb */ color: rgb(92, 16, 81);
/* oklch */ color: oklch(33.6% 0.131 334.9);
Tailwind
colors: {
  custom: {
    50: '#8d5882',
    500: '#5c1051',
    950: '#000000',
  },
}
SCSS
$custom: #5c1051;
$custom-light: #8d5882;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1051",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 81
  },
  "hsl": {
    "h": 308.684,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.3362,
    "c": 0.13086,
    "h": 334.9
  },
  "luminance": 0.0324
}

Semantic roles & 50–950 ramp

primary
#5C1051
secondary
#339541
accent
#ED543B
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5C1051

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

Preview Lab → · Contrast checker → · Palette generator →

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