#5C105B#5C105B

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

Color values

HEX#5C105B
RGBrgb(92, 16, 91)
HSLhsl(301, 70%, 21%)
HSVhsv(301, 83%, 36%)
CMYKcmyk(0%, 82.6%, 1.1%, 63.9%)
CIE-LABlab(21.59, 42.33, -26.06)
CIE-LCHlch(21.59, 49.71, 328.38°)
OKLaboklab(34.25% 0.1187 -0.0722)
OKLCHoklch(34.25% 0.139 328.7)
XYZxyz(6.4872, 3.4017, 10.2104)
Luminance0.0340 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C105B #105C11
analogous
#37105C #5C105B #5C1035
triadic
#5C105B #5B5C10 #105B5C
tetradic
#5C105B #5C3710 #105C11 #10355C
square
#5C105B #5C3710 #105C11 #10355C
split-complementary
#5C105B #355C10 #105C37
monochromatic
#1A051A #280727 #5C105B #90198F #C422C2

Accessibility & contrast

On white

12.50
#5C105B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C105B
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C105B#FFFFFF#000000##FFFFFF
##5C105B1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012D5D
Deuteranopia (green-blind)
#273759
Tritanopia (blue-blind)
#5F1C35
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5c105b;
/* rgb */ color: rgb(92, 16, 91);
/* oklch */ color: oklch(34.2% 0.139 328.7);
Tailwind
colors: {
  custom: {
    50: '#8d598a',
    500: '#5c105b',
    950: '#000000',
  },
}
SCSS
$custom: #5c105b;
$custom-light: #8d598a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c105b",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 91
  },
  "hsl": {
    "h": 300.789,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.34246,
    "c": 0.13893,
    "h": 328.7
  },
  "luminance": 0.03401
}

Semantic roles & 50–950 ramp

primary
#5C105B
secondary
#339534
accent
#ED3D3B
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040B
muted
#7D797C

Preview Lab

Preview with #5C105B

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

Preview Lab → · Contrast checker → · Palette generator →

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