#5C2A73#5C2A73

#5C2A73 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 38.8% C 0.127 H 313.7°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#5C2A73
RGBrgb(92, 42, 115)
HSLhsl(281, 46%, 31%)
HSVhsv(281, 63%, 45%)
CMYKcmyk(20%, 63.5%, 0%, 54.9%)
CIE-LABlab(27.21, 35.89, -32.71)
CIE-LCHlch(27.21, 48.56, 317.65°)
OKLaboklab(38.79% 0.0876 -0.0918)
OKLCHoklch(38.79% 0.127 313.7)
XYZxyz(8.3356, 5.1693, 16.7750)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2A73 #41732A
analogous
#372A73 #5C2A73 #732A65
triadic
#5C2A73 #735C2A #2A735C
tetradic
#5C2A73 #73372A #41732A #2A6573
square
#5C2A73 #73372A #41732A #2A6573
split-complementary
#5C2A73 #65732A #2A7337
monochromatic
#140919 #381A46 #5C2A73 #803AA0 #A056C1

Accessibility & contrast

On white

10.33
#5C2A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#5C2A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2A73
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2A73#FFFFFF#000000##FFFFFF
##5C2A731.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113E75
Deuteranopia (green-blind)
#274271
Tritanopia (blue-blind)
#5A374A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5c2a73;
/* rgb */ color: rgb(92, 42, 115);
/* oklch */ color: oklch(38.8% 0.127 313.7);
Tailwind
colors: {
  custom: {
    50: '#8d679c',
    500: '#5c2a73',
    950: '#000000',
  },
}
SCSS
$custom: #5c2a73;
$custom-light: #8d679c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2a73",
  "rgb": {
    "r": 92,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 281.096,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3879,
    "c": 0.12689,
    "h": 313.7
  },
  "luminance": 0.05169
}

Semantic roles & 50–950 ramp

primary
#5C2A73
secondary
#6DA554
accent
#D6527B
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #5C2A73

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

Preview Lab → · Contrast checker → · Palette generator →

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