#5C2D73#5C2D73

#5C2D73 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.2% C 0.122 H 313.1°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#5C2D73
RGBrgb(92, 45, 115)
HSLhsl(280, 44%, 31%)
HSVhsv(280, 61%, 45%)
CMYKcmyk(20%, 60.9%, 0%, 54.9%)
CIE-LABlab(27.82, 34.25, -31.75)
CIE-LCHlch(27.82, 46.70, 317.17°)
OKLaboklab(39.23% 0.0834 -0.089)
OKLCHoklch(39.23% 0.122 313.1)
XYZxyz(8.4460, 5.3901, 16.8118)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2D73 #44732D
analogous
#392D73 #5C2D73 #732D67
triadic
#5C2D73 #735C2D #2D735C
tetradic
#5C2D73 #73392D #44732D #2D6773
square
#5C2D73 #73392D #44732D #2D6773
split-complementary
#5C2D73 #67732D #2D7339
monochromatic
#160B1B #391C47 #5C2D73 #7F3E9F #9E5BBF

Accessibility & contrast

On white

10.11
#5C2D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#5C2D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2D73
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2D73#FFFFFF#000000##FFFFFF
##5C2D731.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173F75
Deuteranopia (green-blind)
#2A4371
Tritanopia (blue-blind)
#5A394B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #5c2d73;
/* rgb */ color: rgb(92, 45, 115);
/* oklch */ color: oklch(39.2% 0.122 313.1);
Tailwind
colors: {
  custom: {
    50: '#8c689c',
    500: '#5c2d73',
    950: '#000000',
  },
}
SCSS
$custom: #5c2d73;
$custom-light: #8c689c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2d73",
  "rgb": {
    "r": 92,
    "g": 45,
    "b": 115
  },
  "hsl": {
    "h": 280.286,
    "s": 43.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39232,
    "c": 0.12198,
    "h": 313.1
  },
  "luminance": 0.0539
}

Semantic roles & 50–950 ramp

primary
#5C2D73
secondary
#71A457
accent
#D3547E
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #5C2D73

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

Preview Lab → · Contrast checker → · Palette generator →

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