#5C2373#5C2373

#5C2373 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 37.8% C 0.138 H 314.7°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#5C2373
RGBrgb(92, 35, 115)
HSLhsl(283, 53%, 29%)
HSVhsv(283, 70%, 45%)
CMYKcmyk(20%, 69.6%, 0%, 54.9%)
CIE-LABlab(25.91, 39.47, -34.80)
CIE-LCHlch(25.91, 52.62, 318.60°)
OKLaboklab(37.85% 0.0967 -0.0979)
OKLCHoklch(37.85% 0.138 314.7)
XYZxyz(8.1087, 4.7155, 16.6994)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2373 #3A7323
analogous
#342373 #5C2373 #732362
triadic
#5C2373 #735C23 #23735C
tetradic
#5C2373 #733423 #3A7323 #236273
square
#5C2373 #733423 #3A7323 #236273
split-complementary
#5C2373 #627323 #237334
monochromatic
#130717 #361544 #5C2373 #8231A2 #A349C8

Accessibility & contrast

On white

10.81
#5C2373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#5C2373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2373
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2373#FFFFFF#000000##FFFFFF
##5C23731.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A75
Deuteranopia (green-blind)
#203F71
Tritanopia (blue-blind)
#5A3348
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5c2373;
/* rgb */ color: rgb(92, 35, 115);
/* oklch */ color: oklch(37.8% 0.138 314.7);
Tailwind
colors: {
  custom: {
    50: '#8d639c',
    500: '#5c2373',
    950: '#000000',
  },
}
SCSS
$custom: #5c2373;
$custom-light: #8d639c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2373",
  "rgb": {
    "r": 92,
    "g": 35,
    "b": 115
  },
  "hsl": {
    "h": 282.75,
    "s": 53.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37848,
    "c": 0.13759,
    "h": 314.7
  },
  "luminance": 0.04715
}

Semantic roles & 50–950 ramp

primary
#5C2373
secondary
#66A64C
accent
#DD4B75
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C050E
muted
#7D7A7E

Preview Lab

Preview with #5C2373

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

Preview Lab → · Contrast checker → · Palette generator →

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