#5C135A#5C135A

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

Color values

HEX#5C135A
RGBrgb(92, 19, 90)
HSLhsl(302, 66%, 22%)
HSVhsv(302, 79%, 36%)
CMYKcmyk(0%, 79.3%, 2.2%, 63.9%)
CIE-LABlab(21.87, 41.15, -24.94)
CIE-LCHlch(21.87, 48.12, 328.78°)
OKLaboklab(34.43% 0.1159 -0.069)
OKLCHoklch(34.43% 0.135 329.2)
XYZxyz(6.4919, 3.4797, 10.0006)
Luminance0.0348 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C135A #135C15
analogous
#3A135C #5C135A #5C1336
triadic
#5C135A #5A5C13 #135A5C
tetradic
#5C135A #5C3A13 #135C15 #13365C
square
#5C135A #5C3A13 #135C15 #13365C
split-complementary
#5C135A #365C13 #135C3A
monochromatic
#190519 #290928 #5C135A #8F1D8C #C128BD

Accessibility & contrast

On white

12.38
#5C135A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5C135A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C135A
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C135A#FFFFFF#000000##FFFFFF
##5C135A1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072E5C
Deuteranopia (green-blind)
#283858
Tritanopia (blue-blind)
#5F1E35
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5c135a;
/* rgb */ color: rgb(92, 19, 90);
/* oklch */ color: oklch(34.4% 0.135 329.2);
Tailwind
colors: {
  custom: {
    50: '#8d5a89',
    500: '#5c135a',
    950: '#000000',
  },
}
SCSS
$custom: #5c135a;
$custom-light: #8d5a89;
$custom-dark: #000000;
JSON
{
  "hex": "#5c135a",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 90
  },
  "hsl": {
    "h": 301.644,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.34429,
    "c": 0.13483,
    "h": 329.2
  },
  "luminance": 0.03479
}

Semantic roles & 50–950 ramp

primary
#5C135A
secondary
#379439
accent
#E9443F
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #5C135A

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

Preview Lab → · Contrast checker → · Palette generator →

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