#5C2E72#5C2E72

#5C2E72 is a dark, moderate purple. Relative luminance 0.054; OKLCH L 39.3% C 0.119 H 313.5°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#5C2E72
RGBrgb(92, 46, 114)
HSLhsl(281, 43%, 31%)
HSVhsv(281, 60%, 45%)
CMYKcmyk(19.3%, 59.6%, 0%, 55.3%)
CIE-LABlab(27.97, 33.45, -30.88)
CIE-LCHlch(27.97, 45.52, 317.29°)
OKLaboklab(39.32% 0.082 -0.0865)
OKLCHoklch(39.32% 0.119 313.5)
XYZxyz(8.4274, 5.4444, 16.5233)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2E72 #44722E
analogous
#3A2E72 #5C2E72 #722E66
triadic
#5C2E72 #725C2E #2E725C
tetradic
#5C2E72 #723A2E #44722E #2E6672
square
#5C2E72 #723A2E #44722E #2E6672
split-complementary
#5C2E72 #66722E #2E723A
monochromatic
#160B1B #391C46 #5C2E72 #7F409E #9E5DBE

Accessibility & contrast

On white

10.05
#5C2E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#5C2E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2E72
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2E72#FFFFFF#000000##FFFFFF
##5C2E721.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3F74
Deuteranopia (green-blind)
#2B4370
Tritanopia (blue-blind)
#5A3A4B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #5c2e72;
/* rgb */ color: rgb(92, 46, 114);
/* oklch */ color: oklch(39.3% 0.119 313.5);
Tailwind
colors: {
  custom: {
    50: '#8c699b',
    500: '#5c2e72',
    950: '#000000',
  },
}
SCSS
$custom: #5c2e72;
$custom-light: #8c699b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2e72",
  "rgb": {
    "r": 92,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 280.588,
    "s": 42.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39319,
    "c": 0.11913,
    "h": 313.5
  },
  "luminance": 0.05444
}

Semantic roles & 50–950 ramp

primary
#5C2E72
secondary
#71A358
accent
#D2567E
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #5C2E72

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

Preview Lab → · Contrast checker → · Palette generator →

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