#5C105D#5C105D

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

Color values

HEX#5C105D
RGBrgb(92, 16, 93)
HSLhsl(299, 71%, 21%)
HSVhsv(299, 83%, 36%)
CMYKcmyk(1.1%, 82.8%, 0%, 63.5%)
CIE-LABlab(21.71, 42.69, -27.19)
CIE-LCHlch(21.71, 50.61, 327.51°)
OKLaboklab(34.38% 0.1186 -0.0755)
OKLCHoklch(34.38% 0.141 327.5)
XYZxyz(6.5746, 3.4367, 10.6709)
Luminance0.0344 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C105D #115D10
analogous
#36105D #5C105D #5D1038
triadic
#5C105D #5D5C10 #105D5C
tetradic
#5C105D #5D3610 #115D10 #10385D
square
#5C105D #5D3610 #115D10 #10385D
split-complementary
#5C105D #385D10 #105D36
monochromatic
#1A041A #280729 #5C105D #901991 #C322C5

Accessibility & contrast

On white

12.45
#5C105D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C105D
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C105D#FFFFFF#000000##FFFFFF
##5C105D1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E5F
Deuteranopia (green-blind)
#25375B
Tritanopia (blue-blind)
#5F1D36
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5c105d;
/* rgb */ color: rgb(92, 16, 93);
/* oklch */ color: oklch(34.4% 0.141 327.5);
Tailwind
colors: {
  custom: {
    50: '#8d598b',
    500: '#5c105d',
    950: '#000000',
  },
}
SCSS
$custom: #5c105d;
$custom-light: #8d598b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c105d",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 93
  },
  "hsl": {
    "h": 299.221,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.34379,
    "c": 0.1406,
    "h": 327.5
  },
  "luminance": 0.03436
}

Semantic roles & 50–950 ramp

primary
#5C105D
secondary
#349633
accent
#ED3A3D
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040C
muted
#7D797D

Preview Lab

Preview with #5C105D

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

Preview Lab → · Contrast checker → · Palette generator →

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