#7D2979#7D2979

#7D2979 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.8% C 0.152 H 329.8°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#7D2979
RGBrgb(125, 41, 121)
HSLhsl(303, 51%, 33%)
HSVhsv(303, 67%, 49%)
CMYKcmyk(0%, 67.2%, 3.2%, 51%)
CIE-LABlab(32.54, 46.40, -27.74)
CIE-LCHlch(32.54, 54.06, 329.13°)
OKLaboklab(43.82% 0.1311 -0.0764)
OKLCHoklch(43.82% 0.152 329.8)
XYZxyz(12.7015, 7.3272, 18.8308)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2979 #297D2D
analogous
#57297D #7D2979 #7D294F
triadic
#7D2979 #797D29 #29797D
tetradic
#7D2979 #7D5729 #297D2D #294F7D
square
#7D2979 #7D5729 #297D2D #294F7D
split-complementary
#7D2979 #4F7D29 #297D57
monochromatic
#210B20 #4F1A4C #7D2979 #AB38A6 #C858C3

Accessibility & contrast

On white

8.52
#7D2979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2979
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2979#FFFFFF#000000##FFFFFF
##7D29791.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21457B
Deuteranopia (green-blind)
#405177
Tritanopia (blue-blind)
#82334D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d2979;
/* rgb */ color: rgb(125, 41, 121);
/* oklch */ color: oklch(43.8% 0.152 329.8);
Tailwind
colors: {
  custom: {
    50: '#a56aa0',
    500: '#7d2979',
    950: '#000000',
  },
}
SCSS
$custom: #7d2979;
$custom-light: #a56aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2979",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 121
  },
  "hsl": {
    "h": 302.857,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4382,
    "c": 0.15171,
    "h": 329.8
  },
  "luminance": 0.07326
}

Semantic roles & 50–950 ramp

primary
#7D2979
secondary
#54AE58
accent
#DA544E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2979

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

Preview Lab → · Contrast checker → · Palette generator →

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