#7A1D79#7A1D79

#7A1D79 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.165 H 328.5°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#7A1D79
RGBrgb(122, 29, 121)
HSLhsl(301, 62%, 30%)
HSVhsv(301, 76%, 48%)
CMYKcmyk(0%, 76.2%, 0.8%, 52.2%)
CIE-LABlab(30.39, 50.27, -31.17)
CIE-LCHlch(30.39, 59.15, 328.20°)
OKLaboklab(42.18% 0.1408 -0.0863)
OKLCHoklch(42.18% 0.165 328.5)
XYZxyz(11.9165, 6.3977, 18.6927)
Luminance0.0640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1D79 #1D7A1E
analogous
#4D1D7A #7A1D79 #7A1D4B
triadic
#7A1D79 #797A1D #1D797A
tetradic
#7A1D79 #7A4D1D #1D7A1E #1D4B7A
square
#7A1D79 #7A4D1D #1D7A1E #1D4B7A
split-complementary
#7A1D79 #4B7A1D #1D7A4D
monochromatic
#190619 #491148 #7A1D79 #AB29AA #D240D0

Accessibility & contrast

On white

9.21
#7A1D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7A1D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1D79
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1D79#FFFFFF#000000##FFFFFF
##7A1D791.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B407B
Deuteranopia (green-blind)
#374C77
Tritanopia (blue-blind)
#7E2B49
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7a1d79;
/* rgb */ color: rgb(122, 29, 121);
/* oklch */ color: oklch(42.2% 0.165 328.5);
Tailwind
colors: {
  custom: {
    50: '#a464a0',
    500: '#7a1d79',
    950: '#000000',
  },
}
SCSS
$custom: #7a1d79;
$custom-light: #a464a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1d79",
  "rgb": {
    "r": 122,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 300.645,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42175,
    "c": 0.16512,
    "h": 328.5
  },
  "luminance": 0.06397
}

Semantic roles & 50–950 ramp

primary
#7A1D79
secondary
#45AE46
accent
#E54543
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7A1D79

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

Preview Lab → · Contrast checker → · Palette generator →

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