#7A2A72#7A2A72

#7A2A72 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.1% C 0.142 H 331.9°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#7A2A72
RGBrgb(122, 42, 114)
HSLhsl(306, 49%, 32%)
HSVhsv(306, 66%, 48%)
CMYKcmyk(0%, 65.6%, 6.6%, 52.2%)
CIE-LABlab(31.83, 43.92, -24.47)
CIE-LCHlch(31.83, 50.28, 330.87°)
OKLaboklab(43.08% 0.1257 -0.0671)
OKLCHoklch(43.08% 0.142 331.9)
XYZxyz(11.8913, 7.0093, 16.6430)
Luminance0.0701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2A72 #2A7A32
analogous
#5A2A7A #7A2A72 #7A2A4A
triadic
#7A2A72 #727A2A #2A727A
tetradic
#7A2A72 #7A5A2A #2A7A32 #2A4A7A
square
#7A2A72 #7A5A2A #2A7A32 #2A4A7A
split-complementary
#7A2A72 #4A7A2A #2A7A5A
monochromatic
#1F0B1D #4C1A47 #7A2A72 #A83A9D #C659BB

Accessibility & contrast

On white

8.74
#7A2A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7A2A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2A72
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2A72#FFFFFF#000000##FFFFFF
##7A2A721.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264474
Deuteranopia (green-blind)
#414F70
Tritanopia (blue-blind)
#7F314A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7a2a72;
/* rgb */ color: rgb(122, 42, 114);
/* oklch */ color: oklch(43.1% 0.142 331.9);
Tailwind
colors: {
  custom: {
    50: '#a36a9b',
    500: '#7a2a72',
    950: '#000000',
  },
}
SCSS
$custom: #7a2a72;
$custom-light: #a36a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2a72",
  "rgb": {
    "r": 122,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 306,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43083,
    "c": 0.14244,
    "h": 331.9
  },
  "luminance": 0.07008
}

Semantic roles & 50–950 ramp

primary
#7A2A72
secondary
#55AB5D
accent
#D85D4F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7A2A72

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

Preview Lab → · Contrast checker → · Palette generator →

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