#5C1050#5C1050

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

Color values

HEX#5C1050
RGBrgb(92, 16, 80)
HSLhsl(309, 70%, 21%)
HSVhsv(309, 83%, 36%)
CMYKcmyk(0%, 82.6%, 13%, 63.9%)
CIE-LABlab(20.93, 40.44, -19.72)
CIE-LCHlch(20.93, 45.00, 334.00°)
OKLaboklab(33.56% 0.1184 -0.0539)
OKLCHoklch(33.56% 0.13 335.5)
XYZxyz(6.0470, 3.2256, 7.8920)
Luminance0.0323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1050 #105C1C
analogous
#42105C #5C1050 #5C102A
triadic
#5C1050 #505C10 #10505C
tetradic
#5C1050 #5C4210 #105C1C #102A5C
square
#5C1050 #5C4210 #105C1C #102A5C
split-complementary
#5C1050 #2A5C10 #105C42
monochromatic
#1A0517 #280723 #5C1050 #90197D #C422AB

Accessibility & contrast

On white

12.77
#5C1050 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1050
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1050#FFFFFF#000000##FFFFFF
##5C10501.0012.771.6512.77
#FFFFFF12.771.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102B52
Deuteranopia (green-blind)
#2C364E
Tritanopia (blue-blind)
#61162F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c1050;
/* rgb */ color: rgb(92, 16, 80);
/* oklch */ color: oklch(33.6% 0.130 335.5);
Tailwind
colors: {
  custom: {
    50: '#8d5881',
    500: '#5c1050',
    950: '#000000',
  },
}
SCSS
$custom: #5c1050;
$custom-light: #8d5881;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1050",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 80
  },
  "hsl": {
    "h": 309.474,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.3356,
    "c": 0.13008,
    "h": 335.5
  },
  "luminance": 0.03225
}

Semantic roles & 50–950 ramp

primary
#5C1050
secondary
#339542
accent
#ED573B
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5C1050

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

Preview Lab → · Contrast checker → · Palette generator →

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