#5C2573#5C2573

#5C2573 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.1% C 0.135 H 314.4°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#5C2573
RGBrgb(92, 37, 115)
HSLhsl(282, 51%, 30%)
HSVhsv(282, 68%, 45%)
CMYKcmyk(20%, 67.8%, 0%, 54.9%)
CIE-LABlab(26.26, 38.49, -34.23)
CIE-LCHlch(26.26, 51.51, 318.35°)
OKLaboklab(38.1% 0.0942 -0.0962)
OKLCHoklch(38.1% 0.135 314.4)
XYZxyz(8.1692, 4.8365, 16.7195)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2573 #3C7325
analogous
#352573 #5C2573 #732563
triadic
#5C2573 #735C25 #25735C
tetradic
#5C2573 #733525 #3C7325 #256373
square
#5C2573 #733525 #3C7325 #256373
split-complementary
#5C2573 #637325 #257335
monochromatic
#130717 #371645 #5C2573 #8134A1 #A24DC6

Accessibility & contrast

On white

10.68
#5C2573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#5C2573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2573
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2573#FFFFFF#000000##FFFFFF
##5C25731.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023B75
Deuteranopia (green-blind)
#224071
Tritanopia (blue-blind)
#5A3448
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5c2573;
/* rgb */ color: rgb(92, 37, 115);
/* oklch */ color: oklch(38.1% 0.135 314.4);
Tailwind
colors: {
  custom: {
    50: '#8d649c',
    500: '#5c2573',
    950: '#000000',
  },
}
SCSS
$custom: #5c2573;
$custom-light: #8d649c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2573",
  "rgb": {
    "r": 92,
    "g": 37,
    "b": 115
  },
  "hsl": {
    "h": 282.308,
    "s": 51.316,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38104,
    "c": 0.13465,
    "h": 314.4
  },
  "luminance": 0.04836
}

Semantic roles & 50–950 ramp

primary
#5C2573
secondary
#68A64E
accent
#DB4D77
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #5C2573

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

Preview Lab → · Contrast checker → · Palette generator →

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