#7A2B79#7A2B79

#7A2B79 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.6% C 0.147 H 328.2°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#7A2B79
RGBrgb(122, 43, 121)
HSLhsl(301, 48%, 32%)
HSVhsv(301, 65%, 48%)
CMYKcmyk(0%, 64.8%, 0.8%, 52.2%)
CIE-LABlab(32.36, 44.73, -28.05)
CIE-LCHlch(32.36, 52.80, 327.91°)
OKLaboklab(43.59% 0.1251 -0.0774)
OKLCHoklch(43.59% 0.147 328.2)
XYZxyz(12.3410, 7.2466, 18.8342)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2B79 #2B7A2C
analogous
#532B7A #7A2B79 #7A2B52
triadic
#7A2B79 #797A2B #2B797A
tetradic
#7A2B79 #7A532B #2B7A2C #2B527A
square
#7A2B79 #7A532B #2B7A2C #2B527A
split-complementary
#7A2B79 #527A2B #2B7A53
monochromatic
#1F0B1F #4D1B4C #7A2B79 #A73BA6 #C55AC4

Accessibility & contrast

On white

8.57
#7A2B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A2B79
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2B79#FFFFFF#000000##FFFFFF
##7A2B791.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22457B
Deuteranopia (green-blind)
#3E5077
Tritanopia (blue-blind)
#7E354E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a2b79;
/* rgb */ color: rgb(122, 43, 121);
/* oklch */ color: oklch(43.6% 0.147 328.2);
Tailwind
colors: {
  custom: {
    50: '#a36aa0',
    500: '#7a2b79',
    950: '#000000',
  },
}
SCSS
$custom: #7a2b79;
$custom-light: #a36aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2b79",
  "rgb": {
    "r": 122,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 300.759,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43592,
    "c": 0.14706,
    "h": 328.2
  },
  "luminance": 0.07246
}

Semantic roles & 50–950 ramp

primary
#7A2B79
secondary
#56AB57
accent
#D75250
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7A2B79

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

Preview Lab → · Contrast checker → · Palette generator →

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