#7A196A#7A196A

#7A196A is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.0% C 0.158 H 335.9°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#7A196A
RGBrgb(122, 25, 106)
HSLhsl(310, 66%, 29%)
HSVhsv(310, 80%, 48%)
CMYKcmyk(0%, 79.5%, 13.1%, 52.2%)
CIE-LABlab(29.09, 49.11, -23.65)
CIE-LCHlch(29.09, 54.51, 334.29°)
OKLaboklab(40.97% 0.144 -0.0646)
OKLCHoklch(40.97% 0.158 335.9)
XYZxyz(10.9754, 5.8745, 14.1887)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A196A #197A29
analogous
#5A197A #7A196A #7A193A
triadic
#7A196A #6A7A19 #196A7A
tetradic
#7A196A #7A5A19 #197A29 #193A7A
square
#7A196A #7A5A19 #197A29 #193A7A
split-complementary
#7A196A #3A7A19 #197A5A
monochromatic
#190516 #470F3E #7A196A #AD2396 #D637BC

Accessibility & contrast

On white

9.66
#7A196A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7A196A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A196A
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A196A#FFFFFF#000000##FFFFFF
##7A196A1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3B6C
Deuteranopia (green-blind)
#3D4A68
Tritanopia (blue-blind)
#812140
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a196a;
/* rgb */ color: rgb(122, 25, 106);
/* oklch */ color: oklch(41.0% 0.158 335.9);
Tailwind
colors: {
  custom: {
    50: '#a46295',
    500: '#7a196a',
    950: '#000000',
  },
}
SCSS
$custom: #7a196a;
$custom-light: #a46295;
$custom-dark: #000000;
JSON
{
  "hex": "#7a196a",
  "rgb": {
    "r": 122,
    "g": 25,
    "b": 106
  },
  "hsl": {
    "h": 309.897,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40969,
    "c": 0.15781,
    "h": 335.9
  },
  "luminance": 0.05873
}

Semantic roles & 50–950 ramp

primary
#7A196A
secondary
#40AF52
accent
#E95B3F
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7A196A

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

Preview Lab → · Contrast checker → · Palette generator →

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