#5C135D#5C135D

#5C135D is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.6% C 0.137 H 327.5°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#5C135D
RGBrgb(92, 19, 93)
HSLhsl(299, 66%, 22%)
HSVhsv(299, 80%, 36%)
CMYKcmyk(1.1%, 79.6%, 0%, 63.5%)
CIE-LABlab(22.06, 41.70, -26.64)
CIE-LCHlch(22.06, 49.48, 327.43°)
OKLaboklab(34.62% 0.1158 -0.0739)
OKLCHoklch(34.62% 0.137 327.5)
XYZxyz(6.6222, 3.5318, 10.6867)
Luminance0.0353 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C135D #145D13
analogous
#37135D #5C135D #5D1339
triadic
#5C135D #5D5C13 #135D5C
tetradic
#5C135D #5D3713 #145D13 #13395D
square
#5C135D #5D3713 #145D13 #13395D
split-complementary
#5C135D #395D13 #135D37
monochromatic
#190519 #2A092A #5C135D #8E1D90 #C128C3

Accessibility & contrast

On white

12.31
#5C135D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5C135D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C135D
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C135D#FFFFFF#000000##FFFFFF
##5C135D1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022F5F
Deuteranopia (green-blind)
#27385B
Tritanopia (blue-blind)
#5F1F37
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5c135d;
/* rgb */ color: rgb(92, 19, 93);
/* oklch */ color: oklch(34.6% 0.137 327.5);
Tailwind
colors: {
  custom: {
    50: '#8d5a8b',
    500: '#5c135d',
    950: '#000000',
  },
}
SCSS
$custom: #5c135d;
$custom-light: #8d5a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c135d",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 93
  },
  "hsl": {
    "h": 299.189,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.34624,
    "c": 0.13739,
    "h": 327.5
  },
  "luminance": 0.03531
}

Semantic roles & 50–950 ramp

primary
#5C135D
secondary
#389537
accent
#E93F41
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040C
muted
#7D797D

Preview Lab

Preview with #5C135D

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

Preview Lab → · Contrast checker → · Palette generator →

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