#7A2D76#7A2D76

#7A2D76 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.7% C 0.141 H 329.8°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#7A2D76
RGBrgb(122, 45, 118)
HSLhsl(303, 46%, 33%)
HSVhsv(303, 63%, 48%)
CMYKcmyk(0%, 63.1%, 3.3%, 52.2%)
CIE-LABlab(32.53, 43.27, -25.90)
CIE-LCHlch(32.53, 50.43, 329.10°)
OKLaboklab(43.66% 0.1222 -0.0712)
OKLCHoklch(43.66% 0.141 329.8)
XYZxyz(12.2343, 7.3232, 17.9052)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2D76 #2D7A31
analogous
#572D7A #7A2D76 #7A2D4F
triadic
#7A2D76 #767A2D #2D767A
tetradic
#7A2D76 #7A572D #2D7A31 #2D4F7A
square
#7A2D76 #7A572D #2D7A31 #2D4F7A
split-complementary
#7A2D76 #4F7A2D #2D7A57
monochromatic
#210C20 #4D1D4B #7A2D76 #A73DA1 #C45EBE

Accessibility & contrast

On white

8.52
#7A2D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7A2D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2D76
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2D76#FFFFFF#000000##FFFFFF
##7A2D761.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274678
Deuteranopia (green-blind)
#415074
Tritanopia (blue-blind)
#7E354D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a2d76;
/* rgb */ color: rgb(122, 45, 118);
/* oklch */ color: oklch(43.7% 0.141 329.8);
Tailwind
colors: {
  custom: {
    50: '#a36b9e',
    500: '#7a2d76',
    950: '#000000',
  },
}
SCSS
$custom: #7a2d76;
$custom-light: #a36b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2d76",
  "rgb": {
    "r": 122,
    "g": 45,
    "b": 118
  },
  "hsl": {
    "h": 303.117,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43664,
    "c": 0.1414,
    "h": 329.8
  },
  "luminance": 0.07322
}

Semantic roles & 50–950 ramp

primary
#7A2D76
secondary
#59AA5D
accent
#D65952
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7A2D76

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

Preview Lab → · Contrast checker → · Palette generator →

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