#7A1979#7A1979

#7A1979 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.169 H 328.5°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#7A1979
RGBrgb(122, 25, 121)
HSLhsl(301, 66%, 29%)
HSVhsv(301, 80%, 48%)
CMYKcmyk(0%, 79.5%, 0.8%, 52.2%)
CIE-LABlab(29.95, 51.56, -31.88)
CIE-LCHlch(29.95, 60.62, 328.27°)
OKLaboklab(41.86% 0.1444 -0.0883)
OKLCHoklch(41.86% 0.169 328.5)
XYZxyz(11.8247, 6.2142, 18.6621)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1979 #197A1A
analogous
#4B197A #7A1979 #7A1949
triadic
#7A1979 #797A19 #19797A
tetradic
#7A1979 #7A4B19 #197A1A #19497A
square
#7A1979 #7A4B19 #197A1A #19497A
split-complementary
#7A1979 #497A19 #197A4B
monochromatic
#190519 #470F47 #7A1979 #AD23AB #D637D4

Accessibility & contrast

On white

9.36
#7A1979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7A1979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1979
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1979#FFFFFF#000000##FFFFFF
##7A19791.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023E7C
Deuteranopia (green-blind)
#364B77
Tritanopia (blue-blind)
#7E2949
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a1979;
/* rgb */ color: rgb(122, 25, 121);
/* oklch */ color: oklch(41.9% 0.169 328.5);
Tailwind
colors: {
  custom: {
    50: '#a462a0',
    500: '#7a1979',
    950: '#000000',
  },
}
SCSS
$custom: #7a1979;
$custom-light: #a462a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1979",
  "rgb": {
    "r": 122,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 300.619,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41855,
    "c": 0.1693,
    "h": 328.5
  },
  "luminance": 0.06213
}

Semantic roles & 50–950 ramp

primary
#7A1979
secondary
#40AF41
accent
#E9413F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7A1979

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

Preview Lab → · Contrast checker → · Palette generator →

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