#7A1B79#7A1B79

#7A1B79 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.167 H 328.5°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#7A1B79
RGBrgb(122, 27, 121)
HSLhsl(301, 64%, 29%)
HSVhsv(301, 78%, 48%)
CMYKcmyk(0%, 77.9%, 0.8%, 52.2%)
CIE-LABlab(30.16, 50.93, -31.53)
CIE-LCHlch(30.16, 59.90, 328.24°)
OKLaboklab(42.01% 0.1427 -0.0873)
OKLCHoklch(42.01% 0.167 328.5)
XYZxyz(11.8690, 6.3028, 18.6769)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1B79 #1B7A1C
analogous
#4C1B7A #7A1B79 #7A1B4A
triadic
#7A1B79 #797A1B #1B797A
tetradic
#7A1B79 #7A4C1B #1B7A1C #1B4A7A
square
#7A1B79 #7A4C1B #1B7A1C #1B4A7A
split-complementary
#7A1B79 #4A7A1B #1B7A4C
monochromatic
#190619 #481047 #7A1B79 #AC26AB #D43CD2

Accessibility & contrast

On white

9.29
#7A1B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7A1B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1B79
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1B79#FFFFFF#000000##FFFFFF
##7A1B791.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073F7C
Deuteranopia (green-blind)
#364B77
Tritanopia (blue-blind)
#7E2A49
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a1b79;
/* rgb */ color: rgb(122, 27, 121);
/* oklch */ color: oklch(42.0% 0.167 328.5);
Tailwind
colors: {
  custom: {
    50: '#a463a0',
    500: '#7a1b79',
    950: '#000000',
  },
}
SCSS
$custom: #7a1b79;
$custom-light: #a463a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1b79",
  "rgb": {
    "r": 122,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 300.632,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.4201,
    "c": 0.16727,
    "h": 328.5
  },
  "luminance": 0.06302
}

Semantic roles & 50–950 ramp

primary
#7A1B79
secondary
#43AE44
accent
#E74341
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7A1B79

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

Preview Lab → · Contrast checker → · Palette generator →

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