#5C105F#5C105F

#5C105F is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.5% C 0.142 H 326.4°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#5C105F
RGBrgb(92, 16, 95)
HSLhsl(298, 71%, 22%)
HSVhsv(298, 83%, 37%)
CMYKcmyk(3.2%, 83.2%, 0%, 62.7%)
CIE-LABlab(21.85, 43.05, -28.30)
CIE-LCHlch(21.85, 51.52, 326.68°)
OKLaboklab(34.51% 0.1185 -0.0787)
OKLCHoklch(34.51% 0.142 326.4)
XYZxyz(6.6644, 3.4726, 11.1435)
Luminance0.0347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C105F #135F10
analogous
#35105F #5C105F #5F103B
triadic
#5C105F #5F5C10 #105F5C
tetradic
#5C105F #5F3510 #135F10 #103B5F
square
#5C105F #5F3510 #135F10 #103B5F
split-complementary
#5C105F #3B5F10 #105F35
monochromatic
#19041A #29072B #5C105F #8F1993 #C122C8

Accessibility & contrast

On white

12.39
#5C105F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C105F
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C105F#FFFFFF#000000##FFFFFF
##5C105F1.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E61
Deuteranopia (green-blind)
#24385D
Tritanopia (blue-blind)
#5F1E37
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5c105f;
/* rgb */ color: rgb(92, 16, 95);
/* oklch */ color: oklch(34.5% 0.142 326.4);
Tailwind
colors: {
  custom: {
    50: '#8d598d',
    500: '#5c105f',
    950: '#000000',
  },
}
SCSS
$custom: #5c105f;
$custom-light: #8d598d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c105f",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 95
  },
  "hsl": {
    "h": 297.722,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.34514,
    "c": 0.14228,
    "h": 326.4
  },
  "luminance": 0.03472
}

Semantic roles & 50–950 ramp

primary
#5C105F
secondary
#379833
accent
#EE3A41
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040C
muted
#7D797D

Preview Lab

Preview with #5C105F

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

Preview Lab → · Contrast checker → · Palette generator →

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