#5C105A#5C105A

#5C105A is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.2% C 0.138 H 329.3°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#5C105A
RGBrgb(92, 16, 90)
HSLhsl(302, 70%, 21%)
HSVhsv(302, 83%, 36%)
CMYKcmyk(0%, 82.6%, 2.2%, 63.9%)
CIE-LABlab(21.52, 42.15, -25.50)
CIE-LCHlch(21.52, 49.26, 328.83°)
OKLaboklab(34.18% 0.1187 -0.0706)
OKLCHoklch(34.18% 0.138 329.3)
XYZxyz(6.4443, 3.3846, 9.9848)
Luminance0.0338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C105A #105C12
analogous
#38105C #5C105A #5C1034
triadic
#5C105A #5A5C10 #105A5C
tetradic
#5C105A #5C3810 #105C12 #10345C
square
#5C105A #5C3810 #105C12 #10345C
split-complementary
#5C105A #345C10 #105C38
monochromatic
#1A0519 #280727 #5C105A #90198D #C422C0

Accessibility & contrast

On white

12.52
#5C105A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5C105A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C105A
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C105A#FFFFFF#000000##FFFFFF
##5C105A1.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032D5C
Deuteranopia (green-blind)
#273758
Tritanopia (blue-blind)
#5F1C35
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5c105a;
/* rgb */ color: rgb(92, 16, 90);
/* oklch */ color: oklch(34.2% 0.138 329.3);
Tailwind
colors: {
  custom: {
    50: '#8d5989',
    500: '#5c105a',
    950: '#000000',
  },
}
SCSS
$custom: #5c105a;
$custom-light: #8d5989;
$custom-dark: #000000;
JSON
{
  "hex": "#5c105a",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 90
  },
  "hsl": {
    "h": 301.579,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.3418,
    "c": 0.1381,
    "h": 329.3
  },
  "luminance": 0.03384
}

Semantic roles & 50–950 ramp

primary
#5C105A
secondary
#339535
accent
#ED3F3B
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040B
muted
#7D797C

Preview Lab

Preview with #5C105A

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

Preview Lab → · Contrast checker → · Palette generator →

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