#5C2C73#5C2C73

#5C2C73 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.1% C 0.124 H 313.3°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#5C2C73
RGBrgb(92, 44, 115)
HSLhsl(281, 45%, 31%)
HSVhsv(281, 62%, 45%)
CMYKcmyk(20%, 61.7%, 0%, 54.9%)
CIE-LABlab(27.61, 34.80, -32.07)
CIE-LCHlch(27.61, 47.33, 317.34°)
OKLaboklab(39.08% 0.0848 -0.0899)
OKLCHoklch(39.08% 0.124 313.3)
XYZxyz(8.4083, 5.3147, 16.7992)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2C73 #43732C
analogous
#382C73 #5C2C73 #732C66
triadic
#5C2C73 #735C2C #2C735C
tetradic
#5C2C73 #73382C #43732C #2C6673
square
#5C2C73 #73382C #43732C #2C6673
split-complementary
#5C2C73 #66732C #2C7338
monochromatic
#150A1A #391B47 #5C2C73 #7F3D9F #9F5AC0

Accessibility & contrast

On white

10.18
#5C2C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#5C2C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2C73
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2C73#FFFFFF#000000##FFFFFF
##5C2C731.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153F75
Deuteranopia (green-blind)
#294271
Tritanopia (blue-blind)
#5A394B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5c2c73;
/* rgb */ color: rgb(92, 44, 115);
/* oklch */ color: oklch(39.1% 0.124 313.3);
Tailwind
colors: {
  custom: {
    50: '#8c689c',
    500: '#5c2c73',
    950: '#000000',
  },
}
SCSS
$custom: #5c2c73;
$custom-light: #8c689c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2c73",
  "rgb": {
    "r": 92,
    "g": 44,
    "b": 115
  },
  "hsl": {
    "h": 280.563,
    "s": 44.654,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39082,
    "c": 0.12364,
    "h": 313.3
  },
  "luminance": 0.05314
}

Semantic roles & 50–950 ramp

primary
#5C2C73
secondary
#70A556
accent
#D4537D
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #5C2C73

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

Preview Lab → · Contrast checker → · Palette generator →

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