#7D2A79#7D2A79

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

Color values

HEX#7D2A79
RGBrgb(125, 42, 121)
HSLhsl(303, 50%, 33%)
HSVhsv(303, 66%, 49%)
CMYKcmyk(0%, 66.4%, 3.2%, 51%)
CIE-LABlab(32.69, 45.97, -27.50)
CIE-LCHlch(32.69, 53.57, 329.12°)
OKLaboklab(43.93% 0.1298 -0.0757)
OKLCHoklch(43.93% 0.15 329.8)
XYZxyz(12.7365, 7.3973, 18.8424)
Luminance0.0740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2A79 #2A7D2E
analogous
#582A7D #7D2A79 #7D2A4F
triadic
#7D2A79 #797D2A #2A797D
tetradic
#7D2A79 #7D582A #2A7D2E #2A4F7D
square
#7D2A79 #7D582A #2A7D2E #2A4F7D
split-complementary
#7D2A79 #4F7D2A #2A7D58
monochromatic
#210B20 #4F1B4D #7D2A79 #AB39A5 #C85AC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D2A79#FFFFFF#000000##FFFFFF
##7D2A791.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)
#23467B
Deuteranopia (green-blind)
#405177
Tritanopia (blue-blind)
#82334D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d2a79;
/* rgb */ color: rgb(125, 42, 121);
/* oklch */ color: oklch(43.9% 0.150 329.8);
Tailwind
colors: {
  custom: {
    50: '#a56aa0',
    500: '#7d2a79',
    950: '#000000',
  },
}
SCSS
$custom: #7d2a79;
$custom-light: #a56aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2a79",
  "rgb": {
    "r": 125,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 302.892,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43931,
    "c": 0.1503,
    "h": 329.8
  },
  "luminance": 0.07396
}

Semantic roles & 50–950 ramp

primary
#7D2A79
secondary
#56AD5A
accent
#D9554F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2A79

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

Preview Lab → · Contrast checker → · Palette generator →

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