#5C2B73#5C2B73

#5C2B73 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 38.9% C 0.125 H 313.5°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#5C2B73
RGBrgb(92, 43, 115)
HSLhsl(281, 46%, 31%)
HSVhsv(281, 63%, 45%)
CMYKcmyk(20%, 62.6%, 0%, 54.9%)
CIE-LABlab(27.41, 35.35, -32.40)
CIE-LCHlch(27.41, 47.95, 317.49°)
OKLaboklab(38.93% 0.0862 -0.0909)
OKLCHoklch(38.93% 0.125 313.5)
XYZxyz(8.3715, 5.2411, 16.7870)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2B73 #42732B
analogous
#382B73 #5C2B73 #732B66
triadic
#5C2B73 #735C2B #2B735C
tetradic
#5C2B73 #73382B #42732B #2B6673
square
#5C2B73 #73382B #42732B #2B6673
split-complementary
#5C2B73 #66732B #2B7338
monochromatic
#150A1A #381A46 #5C2B73 #803CA0 #9F58C1

Accessibility & contrast

On white

10.25
#5C2B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#5C2B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2B73
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2B73#FFFFFF#000000##FFFFFF
##5C2B731.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133E75
Deuteranopia (green-blind)
#284271
Tritanopia (blue-blind)
#5A384A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5c2b73;
/* rgb */ color: rgb(92, 43, 115);
/* oklch */ color: oklch(38.9% 0.125 313.5);
Tailwind
colors: {
  custom: {
    50: '#8c679c',
    500: '#5c2b73',
    950: '#000000',
  },
}
SCSS
$custom: #5c2b73;
$custom-light: #8c679c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2b73",
  "rgb": {
    "r": 92,
    "g": 43,
    "b": 115
  },
  "hsl": {
    "h": 280.833,
    "s": 45.57,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38935,
    "c": 0.12528,
    "h": 313.5
  },
  "luminance": 0.05241
}

Semantic roles & 50–950 ramp

primary
#5C2B73
secondary
#6FA555
accent
#D5537C
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #5C2B73

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

Preview Lab → · Contrast checker → · Palette generator →

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