#7A2972#7A2972

#7A2972 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.0% C 0.144 H 331.9°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#7A2972
RGBrgb(122, 41, 114)
HSLhsl(306, 50%, 32%)
HSVhsv(306, 66%, 48%)
CMYKcmyk(0%, 66.4%, 6.6%, 52.2%)
CIE-LABlab(31.67, 44.36, -24.72)
CIE-LCHlch(31.67, 50.79, 330.87°)
OKLaboklab(42.97% 0.1269 -0.0678)
OKLCHoklch(42.97% 0.144 331.9)
XYZxyz(11.8562, 6.9392, 16.6313)
Luminance0.0694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2972 #297A31
analogous
#5A297A #7A2972 #7A294A
triadic
#7A2972 #727A29 #29727A
tetradic
#7A2972 #7A5A29 #297A31 #294A7A
square
#7A2972 #7A5A29 #297A31 #294A7A
split-complementary
#7A2972 #4A7A29 #297A5A
monochromatic
#1E0A1C #4C1A47 #7A2972 #A8389D #C757BB

Accessibility & contrast

On white

8.80
#7A2972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7A2972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2972
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2972#FFFFFF#000000##FFFFFF
##7A29721.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254374
Deuteranopia (green-blind)
#414F70
Tritanopia (blue-blind)
#7F3149
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a2972;
/* rgb */ color: rgb(122, 41, 114);
/* oklch */ color: oklch(43.0% 0.144 331.9);
Tailwind
colors: {
  custom: {
    50: '#a3699b',
    500: '#7a2972',
    950: '#000000',
  },
}
SCSS
$custom: #7a2972;
$custom-light: #a3699b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2972",
  "rgb": {
    "r": 122,
    "g": 41,
    "b": 114
  },
  "hsl": {
    "h": 305.926,
    "s": 49.693,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42967,
    "c": 0.1439,
    "h": 331.9
  },
  "luminance": 0.06938
}

Semantic roles & 50–950 ramp

primary
#7A2972
secondary
#53AC5C
accent
#D95C4F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7A2972

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

Preview Lab → · Contrast checker → · Palette generator →

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