#7A1476#7A1476

#7A1476 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.172 H 330.0°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#7A1476
RGBrgb(122, 20, 118)
HSLhsl(302, 72%, 28%)
HSVhsv(302, 84%, 48%)
CMYKcmyk(0%, 83.6%, 3.3%, 52.2%)
CIE-LABlab(29.28, 52.47, -31.04)
CIE-LCHlch(29.28, 60.96, 329.39°)
OKLaboklab(41.32% 0.1485 -0.0859)
OKLCHoklch(41.32% 0.172 330)
XYZxyz(11.5462, 5.9468, 17.6758)
Luminance0.0595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1476 #147A18
analogous
#4B147A #7A1476 #7A1443
triadic
#7A1476 #767A14 #14767A
tetradic
#7A1476 #7A4B14 #147A18 #14437A
square
#7A1476 #7A4B14 #147A18 #14437A
split-complementary
#7A1476 #437A14 #147A4B
monochromatic
#1A0419 #450B43 #7A1476 #AF1DA9 #DC2CD5

Accessibility & contrast

On white

9.59
#7A1476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7A1476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1476
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1476#FFFFFF#000000##FFFFFF
##7A14761.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C78
Deuteranopia (green-blind)
#354A74
Tritanopia (blue-blind)
#7F2446
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a1476;
/* rgb */ color: rgb(122, 20, 118);
/* oklch */ color: oklch(41.3% 0.172 330.0);
Tailwind
colors: {
  custom: {
    50: '#a4619e',
    500: '#7a1476',
    950: '#000000',
  },
}
SCSS
$custom: #7a1476;
$custom-light: #a4619e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1476",
  "rgb": {
    "r": 122,
    "g": 20,
    "b": 118
  },
  "hsl": {
    "h": 302.353,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41321,
    "c": 0.17156,
    "h": 330
  },
  "luminance": 0.05946
}

Semantic roles & 50–950 ramp

primary
#7A1476
secondary
#3AB03F
accent
#EF4039
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A1476

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

Preview Lab → · Contrast checker → · Palette generator →

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