#7D2A78#7D2A78

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

Color values

HEX#7D2A78
RGBrgb(125, 42, 120)
HSLhsl(304, 50%, 33%)
HSVhsv(304, 66%, 49%)
CMYKcmyk(0%, 66.4%, 4%, 51%)
CIE-LABlab(32.64, 45.79, -26.95)
CIE-LCHlch(32.64, 53.14, 329.52°)
OKLaboklab(43.88% 0.1298 -0.0741)
OKLCHoklch(43.88% 0.149 330.3)
XYZxyz(12.6755, 7.3729, 18.5212)
Luminance0.0737 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2A78 #2A7D2F
analogous
#582A7D #7D2A78 #7D2A4F
triadic
#7D2A78 #787D2A #2A787D
tetradic
#7D2A78 #7D582A #2A7D2F #2A4F7D
square
#7D2A78 #7D582A #2A7D2F #2A4F7D
split-complementary
#7D2A78 #4F7D2A #2A7D58
monochromatic
#210B20 #4F1B4C #7D2A78 #AB39A4 #C85AC1

Accessibility & contrast

On white

8.49
#7D2A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7D2A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2A78
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2A78#FFFFFF#000000##FFFFFF
##7D2A781.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23457A
Deuteranopia (green-blind)
#415176
Tritanopia (blue-blind)
#82334D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d2a78;
/* rgb */ color: rgb(125, 42, 120);
/* oklch */ color: oklch(43.9% 0.149 330.3);
Tailwind
colors: {
  custom: {
    50: '#a56a9f',
    500: '#7d2a78',
    950: '#000000',
  },
}
SCSS
$custom: #7d2a78;
$custom-light: #a56a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2a78",
  "rgb": {
    "r": 125,
    "g": 42,
    "b": 120
  },
  "hsl": {
    "h": 303.614,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43875,
    "c": 0.14944,
    "h": 330.3
  },
  "luminance": 0.07372
}

Semantic roles & 50–950 ramp

primary
#7D2A78
secondary
#56AD5B
accent
#D9574F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2A78

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

Preview Lab → · Contrast checker → · Palette generator →

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