#7A1779#7A1779

#7A1779 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.171 H 328.6°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#7A1779
RGBrgb(122, 23, 121)
HSLhsl(301, 68%, 28%)
HSVhsv(301, 81%, 48%)
CMYKcmyk(0%, 81.1%, 0.8%, 52.2%)
CIE-LABlab(29.74, 52.15, -32.20)
CIE-LCHlch(29.74, 61.29, 328.30°)
OKLaboklab(41.71% 0.1461 -0.0893)
OKLCHoklch(41.71% 0.171 328.6)
XYZxyz(11.7835, 6.1317, 18.6484)
Luminance0.0613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1779 #177A18
analogous
#49177A #7A1779 #7A1747
triadic
#7A1779 #797A17 #17797A
tetradic
#7A1779 #7A4917 #177A18 #17477A
square
#7A1779 #7A4917 #177A18 #17477A
split-complementary
#7A1779 #477A17 #177A49
monochromatic
#1A051A #470D46 #7A1779 #AD21AC #D933D7

Accessibility & contrast

On white

9.43
#7A1779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1779
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1779#FFFFFF#000000##FFFFFF
##7A17791.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1779;
/* rgb */ color: rgb(122, 23, 121);
/* oklch */ color: oklch(41.7% 0.171 328.6);
Tailwind
colors: {
  custom: {
    50: '#a462a0',
    500: '#7a1779',
    950: '#000000',
  },
}
SCSS
$custom: #7a1779;
$custom-light: #a462a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1779",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 300.606,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4171,
    "c": 0.17121,
    "h": 328.6
  },
  "luminance": 0.06131
}

Semantic roles & 50–950 ramp

primary
#7A1779
secondary
#3EAF3F
accent
#EB3E3D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7A1779

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

Preview Lab → · Contrast checker → · Palette generator →

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