#5C1052#5C1052

#5C1052 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.7% C 0.132 H 334.2°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#5C1052
RGBrgb(92, 16, 82)
HSLhsl(308, 70%, 21%)
HSVhsv(308, 83%, 36%)
CMYKcmyk(0%, 82.6%, 10.9%, 63.9%)
CIE-LABlab(21.04, 40.77, -20.90)
CIE-LCHlch(21.04, 45.81, 332.87°)
OKLaboklab(33.68% 0.1185 -0.0573)
OKLCHoklch(33.68% 0.132 334.2)
XYZxyz(6.1220, 3.2556, 8.2870)
Luminance0.0326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1052 #105C1A
analogous
#40105C #5C1052 #5C102C
triadic
#5C1052 #525C10 #10525C
tetradic
#5C1052 #5C4010 #105C1A #102C5C
square
#5C1052 #5C4010 #105C1A #102C5C
split-complementary
#5C1052 #2C5C10 #105C40
monochromatic
#1A0517 #280724 #5C1052 #901980 #C422AF

Accessibility & contrast

On white

12.72
#5C1052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1052
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1052#FFFFFF#000000##FFFFFF
##5C10521.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2C54
Deuteranopia (green-blind)
#2B3650
Tritanopia (blue-blind)
#611830
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5c1052;
/* rgb */ color: rgb(92, 16, 82);
/* oklch */ color: oklch(33.7% 0.132 334.2);
Tailwind
colors: {
  custom: {
    50: '#8d5883',
    500: '#5c1052',
    950: '#000000',
  },
}
SCSS
$custom: #5c1052;
$custom-light: #8d5883;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1052",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 82
  },
  "hsl": {
    "h": 307.895,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33679,
    "c": 0.13164,
    "h": 334.2
  },
  "luminance": 0.03255
}

Semantic roles & 50–950 ramp

primary
#5C1052
secondary
#339540
accent
#ED523B
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5C1052

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

Preview Lab → · Contrast checker → · Palette generator →

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