#5C2773#5C2773

#5C2773 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.4% C 0.132 H 314.1°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#5C2773
RGBrgb(92, 39, 115)
HSLhsl(282, 49%, 30%)
HSVhsv(282, 66%, 45%)
CMYKcmyk(20%, 66.1%, 0%, 54.9%)
CIE-LABlab(26.63, 37.47, -33.64)
CIE-LCHlch(26.63, 50.35, 318.08°)
OKLaboklab(38.37% 0.0916 -0.0945)
OKLCHoklch(38.37% 0.132 314.1)
XYZxyz(8.2331, 4.9644, 16.7409)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2773 #3E7327
analogous
#362773 #5C2773 #732764
triadic
#5C2773 #735C27 #27735C
tetradic
#5C2773 #733627 #3E7327 #276473
square
#5C2773 #733627 #3E7327 #276473
split-complementary
#5C2773 #647327 #277336
monochromatic
#130818 #371845 #5C2773 #8136A1 #A151C4

Accessibility & contrast

On white

10.54
#5C2773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#5C2773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2773
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2773#FFFFFF#000000##FFFFFF
##5C27731.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083C75
Deuteranopia (green-blind)
#244071
Tritanopia (blue-blind)
#5A3549
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5c2773;
/* rgb */ color: rgb(92, 39, 115);
/* oklch */ color: oklch(38.4% 0.132 314.1);
Tailwind
colors: {
  custom: {
    50: '#8d659c',
    500: '#5c2773',
    950: '#000000',
  },
}
SCSS
$custom: #5c2773;
$custom-light: #8d659c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2773",
  "rgb": {
    "r": 92,
    "g": 39,
    "b": 115
  },
  "hsl": {
    "h": 281.842,
    "s": 49.351,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3837,
    "c": 0.13162,
    "h": 314.1
  },
  "luminance": 0.04964
}

Semantic roles & 50–950 ramp

primary
#5C2773
secondary
#6AA550
accent
#D94F79
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #5C2773

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

Preview Lab → · Contrast checker → · Palette generator →

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