#7D2C7A#7D2C7A

#7D2C7A is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.2% C 0.148 H 329.2°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#7D2C7A
RGBrgb(125, 44, 122)
HSLhsl(302, 48%, 33%)
HSVhsv(302, 65%, 49%)
CMYKcmyk(0%, 64.8%, 2.4%, 51%)
CIE-LABlab(33.07, 45.27, -27.54)
CIE-LCHlch(33.07, 52.99, 328.69°)
OKLaboklab(44.22% 0.1274 -0.0758)
OKLCHoklch(44.22% 0.148 329.2)
XYZxyz(12.8709, 7.5674, 19.1913)
Luminance0.0757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2C7A #2C7D2F
analogous
#572C7D #7D2C7A #7D2C51
triadic
#7D2C7A #7A7D2C #2C7A7D
tetradic
#7D2C7A #7D572C #2C7D2F #2C517D
square
#7D2C7A #7D572C #2C7D2F #2C517D
split-complementary
#7D2C7A #517D2C #2C7D57
monochromatic
#220C22 #501C4E #7D2C7A #AA3CA6 #C65DC2

Accessibility & contrast

On white

8.36
#7D2C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7D2C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2C7A
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2C7A#FFFFFF#000000##FFFFFF
##7D2C7A1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24477C
Deuteranopia (green-blind)
#415278
Tritanopia (blue-blind)
#81354F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d2c7a;
/* rgb */ color: rgb(125, 44, 122);
/* oklch */ color: oklch(44.2% 0.148 329.2);
Tailwind
colors: {
  custom: {
    50: '#a56ba1',
    500: '#7d2c7a',
    950: '#000000',
  },
}
SCSS
$custom: #7d2c7a;
$custom-light: #a56ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2c7a",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 122
  },
  "hsl": {
    "h": 302.222,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44218,
    "c": 0.14829,
    "h": 329.2
  },
  "luminance": 0.07566
}

Semantic roles & 50–950 ramp

primary
#7D2C7A
secondary
#59AC5C
accent
#D85550
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070F
muted
#7F7A7E

Preview Lab

Preview with #7D2C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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