#5C2673#5C2673

#5C2673 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.2% C 0.133 H 314.3°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#5C2673
RGBrgb(92, 38, 115)
HSLhsl(282, 50%, 30%)
HSVhsv(282, 67%, 45%)
CMYKcmyk(20%, 67%, 0%, 54.9%)
CIE-LABlab(26.45, 37.98, -33.94)
CIE-LCHlch(26.45, 50.93, 318.22°)
OKLaboklab(38.24% 0.0929 -0.0954)
OKLCHoklch(38.24% 0.133 314.3)
XYZxyz(8.2007, 4.8996, 16.7301)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2673 #3D7326
analogous
#362673 #5C2673 #732663
triadic
#5C2673 #735C26 #26735C
tetradic
#5C2673 #733626 #3D7326 #266373
square
#5C2673 #733626 #3D7326 #266373
split-complementary
#5C2673 #637326 #267336
monochromatic
#120817 #371745 #5C2673 #8135A1 #A14FC5

Accessibility & contrast

On white

10.61
#5C2673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#5C2673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2673
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2673#FFFFFF#000000##FFFFFF
##5C26731.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053C75
Deuteranopia (green-blind)
#234071
Tritanopia (blue-blind)
#5A3449
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5c2673;
/* rgb */ color: rgb(92, 38, 115);
/* oklch */ color: oklch(38.2% 0.133 314.3);
Tailwind
colors: {
  custom: {
    50: '#8d649c',
    500: '#5c2673',
    950: '#000000',
  },
}
SCSS
$custom: #5c2673;
$custom-light: #8d649c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2673",
  "rgb": {
    "r": 92,
    "g": 38,
    "b": 115
  },
  "hsl": {
    "h": 282.078,
    "s": 50.327,
    "l": 30
  },
  "oklch": {
    "l": 0.38236,
    "c": 0.13315,
    "h": 314.3
  },
  "luminance": 0.04899
}

Semantic roles & 50–950 ramp

primary
#5C2673
secondary
#69A64F
accent
#DA4E78
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #5C2673

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

Preview Lab → · Contrast checker → · Palette generator →

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