#7A2D79#7A2D79

#7A2D79 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.8% C 0.144 H 328.2°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#7A2D79
RGBrgb(122, 45, 121)
HSLhsl(301, 46%, 33%)
HSVhsv(301, 63%, 48%)
CMYKcmyk(0%, 63.1%, 0.8%, 52.2%)
CIE-LABlab(32.69, 43.82, -27.53)
CIE-LCHlch(32.69, 51.75, 327.86°)
OKLaboklab(43.83% 0.1225 -0.0759)
OKLCHoklch(43.83% 0.144 328.2)
XYZxyz(12.4155, 7.3956, 18.8590)
Luminance0.0740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2D79 #2D7A2E
analogous
#542D7A #7A2D79 #7A2D53
triadic
#7A2D79 #797A2D #2D797A
tetradic
#7A2D79 #7A542D #2D7A2E #2D537A
square
#7A2D79 #7A542D #2D7A2E #2D537A
split-complementary
#7A2D79 #537A2D #2D7A54
monochromatic
#210C20 #4D1D4D #7A2D79 #A73DA5 #C45EC2

Accessibility & contrast

On white

8.47
#7A2D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7A2D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2D79
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2D79#FFFFFF#000000##FFFFFF
##7A2D791.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25467B
Deuteranopia (green-blind)
#3F5077
Tritanopia (blue-blind)
#7E364E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a2d79;
/* rgb */ color: rgb(122, 45, 121);
/* oklch */ color: oklch(43.8% 0.144 328.2);
Tailwind
colors: {
  custom: {
    50: '#a36ca0',
    500: '#7a2d79',
    950: '#000000',
  },
}
SCSS
$custom: #7a2d79;
$custom-light: #a36ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2d79",
  "rgb": {
    "r": 122,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 300.779,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43832,
    "c": 0.14409,
    "h": 328.2
  },
  "luminance": 0.07395
}

Semantic roles & 50–950 ramp

primary
#7A2D79
secondary
#59AA5A
accent
#D65452
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7A2D79

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

Preview Lab → · Contrast checker → · Palette generator →

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