#5C105E#5C105E

#5C105E is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.4% C 0.141 H 327.0°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#5C105E
RGBrgb(92, 16, 94)
HSLhsl(298, 71%, 22%)
HSVhsv(298, 83%, 37%)
CMYKcmyk(2.1%, 83%, 0%, 63.1%)
CIE-LABlab(21.78, 42.87, -27.74)
CIE-LCHlch(21.78, 51.06, 327.09°)
OKLaboklab(34.45% 0.1186 -0.0771)
OKLCHoklch(34.45% 0.141 327)
XYZxyz(6.6192, 3.4545, 10.9057)
Luminance0.0345 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C105E #125E10
analogous
#35105E #5C105E #5E1039
triadic
#5C105E #5E5C10 #105E5C
tetradic
#5C105E #5E3510 #125E10 #10395E
square
#5C105E #5E3510 #125E10 #10395E
split-complementary
#5C105E #395E10 #105E35
monochromatic
#1A041A #29072A #5C105E #8F1992 #C222C7

Accessibility & contrast

On white

12.42
#5C105E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5C105E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C105E
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C105E#FFFFFF#000000##FFFFFF
##5C105E1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E60
Deuteranopia (green-blind)
#25375C
Tritanopia (blue-blind)
#5F1E37
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5c105e;
/* rgb */ color: rgb(92, 16, 94);
/* oklch */ color: oklch(34.4% 0.141 327.0);
Tailwind
colors: {
  custom: {
    50: '#8d598c',
    500: '#5c105e',
    950: '#000000',
  },
}
SCSS
$custom: #5c105e;
$custom-light: #8d598c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c105e",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 94
  },
  "hsl": {
    "h": 298.462,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.34446,
    "c": 0.14144,
    "h": 327
  },
  "luminance": 0.03454
}

Semantic roles & 50–950 ramp

primary
#5C105E
secondary
#359733
accent
#EE3A3F
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040C
muted
#7D797D

Preview Lab

Preview with #5C105E

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

Preview Lab → · Contrast checker → · Palette generator →

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