#7A2D72#7A2D72

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

Color values

HEX#7A2D72
RGBrgb(122, 45, 114)
HSLhsl(306, 46%, 33%)
HSVhsv(306, 63%, 48%)
CMYKcmyk(0%, 63.1%, 6.6%, 52.2%)
CIE-LABlab(32.33, 42.55, -23.69)
CIE-LCHlch(32.33, 48.70, 330.89°)
OKLaboklab(43.45% 0.1217 -0.0649)
OKLCHoklch(43.45% 0.138 331.9)
XYZxyz(12.0017, 7.2301, 16.6798)
Luminance0.0723 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2D72 #2D7A35
analogous
#5C2D7A #7A2D72 #7A2D4B
triadic
#7A2D72 #727A2D #2D727A
tetradic
#7A2D72 #7A5C2D #2D7A35 #2D4B7A
square
#7A2D72 #7A5C2D #2D7A35 #2D4B7A
split-complementary
#7A2D72 #4B7A2D #2D7A5C
monochromatic
#210C1E #4D1D48 #7A2D72 #A73D9C #C45EB9

Accessibility & contrast

On white

8.59
#7A2D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7A2D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2D72
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2D72#FFFFFF#000000##FFFFFF
##7A2D721.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4574
Deuteranopia (green-blind)
#435070
Tritanopia (blue-blind)
#7F344B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a2d72;
/* rgb */ color: rgb(122, 45, 114);
/* oklch */ color: oklch(43.4% 0.138 331.9);
Tailwind
colors: {
  custom: {
    50: '#a36b9b',
    500: '#7a2d72',
    950: '#000000',
  },
}
SCSS
$custom: #7a2d72;
$custom-light: #a36b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2d72",
  "rgb": {
    "r": 122,
    "g": 45,
    "b": 114
  },
  "hsl": {
    "h": 306.234,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43446,
    "c": 0.1379,
    "h": 331.9
  },
  "luminance": 0.07229
}

Semantic roles & 50–950 ramp

primary
#7A2D72
secondary
#59AA61
accent
#D66052
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7A2D72

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

Preview Lab → · Contrast checker → · Palette generator →

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