#7A2D71#7A2D71

#7A2D71 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.4% C 0.137 H 332.5°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#7A2D71
RGBrgb(122, 45, 113)
HSLhsl(307, 46%, 33%)
HSVhsv(307, 63%, 48%)
CMYKcmyk(0%, 63.1%, 7.4%, 52.2%)
CIE-LABlab(32.27, 42.37, -23.14)
CIE-LCHlch(32.27, 48.28, 331.36°)
OKLaboklab(43.39% 0.1216 -0.0633)
OKLCHoklch(43.39% 0.137 332.5)
XYZxyz(11.9451, 7.2075, 16.3816)
Luminance0.0721 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2D71 #2D7A36
analogous
#5C2D7A #7A2D71 #7A2D4A
triadic
#7A2D71 #717A2D #2D717A
tetradic
#7A2D71 #7A5C2D #2D7A36 #2D4A7A
square
#7A2D71 #7A5C2D #2D7A36 #2D4A7A
split-complementary
#7A2D71 #4A7A2D #2D7A5C
monochromatic
#210C1E #4D1D48 #7A2D71 #A73D9A #C45EB8

Accessibility & contrast

On white

8.60
#7A2D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A2D71
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2D71#FFFFFF#000000##FFFFFF
##7A2D711.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4573
Deuteranopia (green-blind)
#43506F
Tritanopia (blue-blind)
#7F334A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a2d71;
/* rgb */ color: rgb(122, 45, 113);
/* oklch */ color: oklch(43.4% 0.137 332.5);
Tailwind
colors: {
  custom: {
    50: '#a36b9a',
    500: '#7a2d71',
    950: '#000000',
  },
}
SCSS
$custom: #7a2d71;
$custom-light: #a36b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2d71",
  "rgb": {
    "r": 122,
    "g": 45,
    "b": 113
  },
  "hsl": {
    "h": 307.013,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43392,
    "c": 0.13703,
    "h": 332.5
  },
  "luminance": 0.07207
}

Semantic roles & 50–950 ramp

primary
#7A2D71
secondary
#59AA62
accent
#D66152
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7A2D71

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

Preview Lab → · Contrast checker → · Palette generator →

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