#5C108D#5C108D

#5C108D is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.2% C 0.183 H 306.2°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#5C108D
RGBrgb(92, 16, 141)
HSLhsl(276, 80%, 31%)
HSVhsv(276, 89%, 55%)
CMYKcmyk(34.8%, 88.7%, 0%, 44.7%)
CIE-LABlab(25.47, 52.52, -51.91)
CIE-LCHlch(25.47, 73.84, 315.34°)
OKLaboklab(38.18% 0.1082 -0.148)
OKLCHoklch(38.18% 0.183 306.2)
XYZxyz(9.4056, 4.5691, 25.5806)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C108D #418D10
analogous
#1D108D #5C108D #8D107F
triadic
#5C108D #8D5C10 #108D5C
tetradic
#5C108D #8D1D10 #418D10 #107F8D
square
#5C108D #8D1D10 #418D10 #107F8D
split-complementary
#5C108D #7F8D10 #108D1D
monochromatic
#14041F #380A56 #5C108D #8016C4 #A030E7

Accessibility & contrast

On white

10.97
#5C108D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#5C108D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C108D
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C108D#FFFFFF#000000##FFFFFF
##5C108D1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#533552
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5c108d;
/* rgb */ color: rgb(92, 16, 141);
/* oklch */ color: oklch(38.2% 0.183 306.2);
Tailwind
colors: {
  custom: {
    50: '#905caf',
    500: '#5c108d',
    950: '#000000',
  },
}
SCSS
$custom: #5c108d;
$custom-light: #905caf;
$custom-dark: #000000;
JSON
{
  "hex": "#5c108d",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 141
  },
  "hsl": {
    "h": 276.48,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38183,
    "c": 0.18332,
    "h": 306.2
  },
  "luminance": 0.04569
}

Semantic roles & 50–950 ramp

primary
#5C108D
secondary
#6DC237
accent
#F6327F
background
#F9F5FA
surface
#F2E9F5
border
#CCC5CF
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #5C108D

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

Preview Lab → · Contrast checker → · Palette generator →

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