#7D2C74#7D2C74

#7D2C74 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.9% C 0.143 H 332.4°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#7D2C74
RGBrgb(125, 44, 116)
HSLhsl(307, 48%, 33%)
HSVhsv(307, 65%, 49%)
CMYKcmyk(0%, 64.8%, 7.2%, 51%)
CIE-LABlab(32.75, 44.20, -24.26)
CIE-LCHlch(32.75, 50.42, 331.25°)
OKLaboklab(43.89% 0.1268 -0.0664)
OKLCHoklch(43.89% 0.143 332.4)
XYZxyz(12.5105, 7.4232, 17.2935)
Luminance0.0742 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2C74 #2C7D35
analogous
#5D2C7D #7D2C74 #7D2C4B
triadic
#7D2C74 #747D2C #2C747D
tetradic
#7D2C74 #7D5D2C #2C7D35 #2C4B7D
square
#7D2C74 #7D5D2C #2C7D35 #2C4B7D
split-complementary
#7D2C74 #4B7D2C #2C7D5D
monochromatic
#220C20 #501C4A #7D2C74 #AA3C9E #C65DBA

Accessibility & contrast

On white

8.45
#7D2C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2C74
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2C74#FFFFFF#000000##FFFFFF
##7D2C741.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294676
Deuteranopia (green-blind)
#445172
Tritanopia (blue-blind)
#82334C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d2c74;
/* rgb */ color: rgb(125, 44, 116);
/* oklch */ color: oklch(43.9% 0.143 332.4);
Tailwind
colors: {
  custom: {
    50: '#a56b9c',
    500: '#7d2c74',
    950: '#000000',
  },
}
SCSS
$custom: #7d2c74;
$custom-light: #a56b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2c74",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 116
  },
  "hsl": {
    "h": 306.667,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43887,
    "c": 0.14312,
    "h": 332.4
  },
  "luminance": 0.07422
}

Semantic roles & 50–950 ramp

primary
#7D2C74
secondary
#59AC62
accent
#D85F50
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2C74

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

Preview Lab → · Contrast checker → · Palette generator →

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