#7D2973#7D2973

#7D2973 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.5% C 0.147 H 332.8°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#7D2973
RGBrgb(125, 41, 115)
HSLhsl(307, 51%, 33%)
HSVhsv(307, 67%, 49%)
CMYKcmyk(0%, 67.2%, 8%, 51%)
CIE-LABlab(32.22, 45.35, -24.45)
CIE-LCHlch(32.22, 51.52, 331.67°)
OKLaboklab(43.49% 0.1305 -0.0669)
OKLCHoklch(43.49% 0.147 332.8)
XYZxyz(12.3449, 7.1846, 16.9529)
Luminance0.0718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2973 #297D33
analogous
#5D297D #7D2973 #7D2949
triadic
#7D2973 #737D29 #29737D
tetradic
#7D2973 #7D5D29 #297D33 #29497D
square
#7D2973 #7D5D29 #297D33 #29497D
split-complementary
#7D2973 #497D29 #297D5D
monochromatic
#210B1E #4F1A49 #7D2973 #AB389D #C858BB

Accessibility & contrast

On white

8.62
#7D2973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7D2973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2973
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2973#FFFFFF#000000##FFFFFF
##7D29731.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264475
Deuteranopia (green-blind)
#435071
Tritanopia (blue-blind)
#83304A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d2973;
/* rgb */ color: rgb(125, 41, 115);
/* oklch */ color: oklch(43.5% 0.147 332.8);
Tailwind
colors: {
  custom: {
    50: '#a56a9b',
    500: '#7d2973',
    950: '#000000',
  },
}
SCSS
$custom: #7d2973;
$custom-light: #a56a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2973",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 115
  },
  "hsl": {
    "h": 307.143,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43487,
    "c": 0.14666,
    "h": 332.8
  },
  "luminance": 0.07184
}

Semantic roles & 50–950 ramp

primary
#7D2973
secondary
#54AE5F
accent
#DA5E4E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2973

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

Preview Lab → · Contrast checker → · Palette generator →

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