#7A1879#7A1879

#7A1879 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.170 H 328.6°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#7A1879
RGBrgb(122, 24, 121)
HSLhsl(301, 67%, 29%)
HSVhsv(301, 80%, 48%)
CMYKcmyk(0%, 80.3%, 0.8%, 52.2%)
CIE-LABlab(29.84, 51.86, -32.04)
CIE-LCHlch(29.84, 60.96, 328.29°)
OKLaboklab(41.78% 0.1453 -0.0888)
OKLCHoklch(41.78% 0.17 328.6)
XYZxyz(11.8037, 6.1722, 18.6551)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1879 #187A19
analogous
#4A187A #7A1879 #7A1848
triadic
#7A1879 #797A18 #18797A
tetradic
#7A1879 #7A4A18 #187A19 #18487A
square
#7A1879 #7A4A18 #187A19 #18487A
split-complementary
#7A1879 #487A18 #187A4A
monochromatic
#1A0519 #470E46 #7A1879 #AD22AC #D735D6

Accessibility & contrast

On white

9.40
#7A1879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7A1879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1879
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1879#FFFFFF#000000##FFFFFF
##7A18791.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#354B77
Tritanopia (blue-blind)
#7E2848
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a1879;
/* rgb */ color: rgb(122, 24, 121);
/* oklch */ color: oklch(41.8% 0.170 328.6);
Tailwind
colors: {
  custom: {
    50: '#a462a0',
    500: '#7a1879',
    950: '#000000',
  },
}
SCSS
$custom: #7a1879;
$custom-light: #a462a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1879",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 300.612,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41781,
    "c": 0.17027,
    "h": 328.6
  },
  "luminance": 0.06171
}

Semantic roles & 50–950 ramp

primary
#7A1879
secondary
#3FAF40
accent
#EA403E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7A1879

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

Preview Lab → · Contrast checker → · Palette generator →

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