#7D2C76#7D2C76

#7D2C76 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.0% C 0.145 H 331.3°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#7D2C76
RGBrgb(125, 44, 118)
HSLhsl(305, 48%, 33%)
HSVhsv(305, 65%, 49%)
CMYKcmyk(0%, 64.8%, 5.6%, 51%)
CIE-LABlab(32.85, 44.56, -25.36)
CIE-LCHlch(32.85, 51.27, 330.36°)
OKLaboklab(44% 0.127 -0.0696)
OKLCHoklch(44% 0.145 331.3)
XYZxyz(12.6281, 7.4703, 17.9128)
Luminance0.0747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2C76 #2C7D33
analogous
#5B2C7D #7D2C76 #7D2C4D
triadic
#7D2C76 #767D2C #2C767D
tetradic
#7D2C76 #7D5B2C #2C7D33 #2C4D7D
square
#7D2C76 #7D5B2C #2C7D33 #2C4D7D
split-complementary
#7D2C76 #4D7D2C #2C7D5B
monochromatic
#220C21 #501C4B #7D2C76 #AA3CA1 #C65DBD

Accessibility & contrast

On white

8.42
#7D2C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7D2C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2C76
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2C76#FFFFFF#000000##FFFFFF
##7D2C761.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274678
Deuteranopia (green-blind)
#435174
Tritanopia (blue-blind)
#82344D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d2c76;
/* rgb */ color: rgb(125, 44, 118);
/* oklch */ color: oklch(44.0% 0.145 331.3);
Tailwind
colors: {
  custom: {
    50: '#a56b9e',
    500: '#7d2c76',
    950: '#000000',
  },
}
SCSS
$custom: #7d2c76;
$custom-light: #a56b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2c76",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 118
  },
  "hsl": {
    "h": 305.185,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43996,
    "c": 0.14482,
    "h": 331.3
  },
  "luminance": 0.07469
}

Semantic roles & 50–950 ramp

primary
#7D2C76
secondary
#59AC60
accent
#D85C50
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2C76

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

Preview Lab → · Contrast checker → · Palette generator →

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