#7D2C72#7D2C72

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

Color values

HEX#7D2C72
RGBrgb(125, 44, 114)
HSLhsl(308, 48%, 33%)
HSVhsv(308, 65%, 49%)
CMYKcmyk(0%, 64.8%, 8.8%, 51%)
CIE-LABlab(32.65, 43.86, -23.15)
CIE-LCHlch(32.65, 49.59, 332.17°)
OKLaboklab(43.78% 0.1265 -0.0632)
OKLCHoklch(43.78% 0.141 333.4)
XYZxyz(12.3954, 7.3772, 16.6874)
Luminance0.0738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2C72 #2C7D37
analogous
#5F2C7D #7D2C72 #7D2C49
triadic
#7D2C72 #727D2C #2C727D
tetradic
#7D2C72 #7D5F2C #2C7D37 #2C497D
square
#7D2C72 #7D5F2C #2C7D37 #2C497D
split-complementary
#7D2C72 #497D2C #2C7D5F
monochromatic
#220C1F #501C49 #7D2C72 #AA3C9B #C65DB8

Accessibility & contrast

On white

8.48
#7D2C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2C72
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2C72#FFFFFF#000000##FFFFFF
##7D2C721.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4574
Deuteranopia (green-blind)
#445170
Tritanopia (blue-blind)
#83324B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d2c72;
/* rgb */ color: rgb(125, 44, 114);
/* oklch */ color: oklch(43.8% 0.141 333.4);
Tailwind
colors: {
  custom: {
    50: '#a56b9b',
    500: '#7d2c72',
    950: '#000000',
  },
}
SCSS
$custom: #7d2c72;
$custom-light: #a56b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2c72",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 114
  },
  "hsl": {
    "h": 308.148,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43781,
    "c": 0.14143,
    "h": 333.4
  },
  "luminance": 0.07376
}

Semantic roles & 50–950 ramp

primary
#7D2C72
secondary
#59AC64
accent
#D86350
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2C72

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

Preview Lab → · Contrast checker → · Palette generator →

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