#7A197A#7A197A

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

Color values

HEX#7A197A
RGBrgb(122, 25, 122)
HSLhsl(300, 66%, 29%)
HSVhsv(300, 80%, 48%)
CMYKcmyk(0%, 79.5%, 0%, 52.2%)
CIE-LABlab(30.01, 51.73, -32.41)
CIE-LCHlch(30.01, 61.05, 327.93°)
OKLaboklab(41.92% 0.1444 -0.0899)
OKLCHoklch(41.92% 0.17 328.1)
XYZxyz(11.8864, 6.2389, 18.9868)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A197A #197A19
analogous
#4A197A #7A197A #7A194A
triadic
#7A197A #7A7A19 #197A7A
tetradic
#7A197A #7A4A19 #197A19 #194A7A
square
#7A197A #7A4A19 #197A19 #194A7A
split-complementary
#7A197A #4A7A19 #197A4A
monochromatic
#190519 #470F47 #7A197A #AD23AD #D637D6

Accessibility & contrast

On white

9.34
#7A197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7A197A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A197A
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A197A#FFFFFF#000000##FFFFFF
##7A197A1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7D
Deuteranopia (green-blind)
#354B78
Tritanopia (blue-blind)
#7E2949
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a197a;
/* rgb */ color: rgb(122, 25, 122);
/* oklch */ color: oklch(41.9% 0.170 328.1);
Tailwind
colors: {
  custom: {
    50: '#a462a1',
    500: '#7a197a',
    950: '#000000',
  },
}
SCSS
$custom: #7a197a;
$custom-light: #a462a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a197a",
  "rgb": {
    "r": 122,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 300,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41918,
    "c": 0.17009,
    "h": 328.1
  },
  "luminance": 0.06238
}

Semantic roles & 50–950 ramp

primary
#7A197A
secondary
#40AF40
accent
#E93F3F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7A197A

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

Preview Lab → · Contrast checker → · Palette generator →

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