#5C2B60#5C2B60

#5C2B60 is a dark, moderate purple. Relative luminance 0.048; OKLCH L 37.8% C 0.104 H 324.5°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#5C2B60
RGBrgb(92, 43, 96)
HSLhsl(295, 38%, 27%)
HSVhsv(295, 55%, 38%)
CMYKcmyk(4.2%, 55.2%, 0%, 62.4%)
CIE-LABlab(26.30, 31.08, -21.91)
CIE-LCHlch(26.30, 38.03, 324.81°)
OKLaboklab(37.76% 0.0847 -0.0604)
OKLCHoklch(37.76% 0.104 324.5)
XYZxyz(7.3886, 4.8480, 11.6106)
Luminance0.0485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2B60 #2F602B
analogous
#422B60 #5C2B60 #602B49
triadic
#5C2B60 #605C2B #2B605C
tetradic
#5C2B60 #60422B #2F602B #2B4960
square
#5C2B60 #60422B #2F602B #2B4960
split-complementary
#5C2B60 #49602B #2B6042
monochromatic
#140915 #331836 #5C2B60 #853E8A #AB53B2

Accessibility & contrast

On white

10.66
#5C2B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#5C2B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2B60
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2B60#FFFFFF#000000##FFFFFF
##5C2B601.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243A62
Deuteranopia (green-blind)
#33405E
Tritanopia (blue-blind)
#5E3241
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5c2b60;
/* rgb */ color: rgb(92, 43, 96);
/* oklch */ color: oklch(37.8% 0.104 324.5);
Tailwind
colors: {
  custom: {
    50: '#8c678d',
    500: '#5c2b60',
    950: '#000000',
  },
}
SCSS
$custom: #5c2b60;
$custom-light: #8c678d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2b60",
  "rgb": {
    "r": 92,
    "g": 43,
    "b": 96
  },
  "hsl": {
    "h": 295.472,
    "s": 38.129,
    "l": 27.255
  },
  "oklch": {
    "l": 0.37758,
    "c": 0.10405,
    "h": 324.5
  },
  "luminance": 0.04848
}

Semantic roles & 50–950 ramp

primary
#5C2B60
secondary
#599255
accent
#CE5A63
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0C060C
muted
#7D7A7D

Preview Lab

Preview with #5C2B60

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

Preview Lab → · Contrast checker → · Palette generator →

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