#7D2C73#7D2C73

#7D2C73 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.8% C 0.142 H 332.9°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#7D2C73
RGBrgb(125, 44, 115)
HSLhsl(307, 48%, 33%)
HSVhsv(307, 65%, 49%)
CMYKcmyk(0%, 64.8%, 8%, 51%)
CIE-LABlab(32.70, 44.03, -23.70)
CIE-LCHlch(32.70, 50.01, 331.70°)
OKLaboklab(43.83% 0.1267 -0.0648)
OKLCHoklch(43.83% 0.142 332.9)
XYZxyz(12.4527, 7.4001, 16.9888)
Luminance0.0740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2C73 #2C7D36
analogous
#5E2C7D #7D2C73 #7D2C4A
triadic
#7D2C73 #737D2C #2C737D
tetradic
#7D2C73 #7D5E2C #2C7D36 #2C4A7D
square
#7D2C73 #7D5E2C #2C7D36 #2C4A7D
split-complementary
#7D2C73 #4A7D2C #2C7D5E
monochromatic
#220C20 #501C49 #7D2C73 #AA3C9D #C65DB9

Accessibility & contrast

On white

8.47
#7D2C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7D2C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2C73
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2C73#FFFFFF#000000##FFFFFF
##7D2C731.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294575
Deuteranopia (green-blind)
#445171
Tritanopia (blue-blind)
#82334B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d2c73;
/* rgb */ color: rgb(125, 44, 115);
/* oklch */ color: oklch(43.8% 0.142 332.9);
Tailwind
colors: {
  custom: {
    50: '#a56b9b',
    500: '#7d2c73',
    950: '#000000',
  },
}
SCSS
$custom: #7d2c73;
$custom-light: #a56b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2c73",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 115
  },
  "hsl": {
    "h": 307.407,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43834,
    "c": 0.14227,
    "h": 332.9
  },
  "luminance": 0.07399
}

Semantic roles & 50–950 ramp

primary
#7D2C73
secondary
#59AC63
accent
#D86150
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2C73

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

Preview Lab → · Contrast checker → · Palette generator →

#7D2C73 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva