#7A196E#7A196E

#7A196E is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.2% C 0.161 H 333.8°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#7A196E
RGBrgb(122, 25, 110)
HSLhsl(307, 66%, 29%)
HSVhsv(307, 80%, 48%)
CMYKcmyk(0%, 79.5%, 9.8%, 52.2%)
CIE-LABlab(29.31, 49.74, -25.88)
CIE-LCHlch(29.31, 56.07, 332.51°)
OKLaboklab(41.2% 0.1443 -0.071)
OKLCHoklch(41.2% 0.161 333.8)
XYZxyz(11.1882, 5.9596, 15.3099)
Luminance0.0596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A196E #197A25
analogous
#56197A #7A196E #7A193E
triadic
#7A196E #6E7A19 #196E7A
tetradic
#7A196E #7A5619 #197A25 #193E7A
square
#7A196E #7A5619 #197A25 #193E7A
split-complementary
#7A196E #3E7A19 #197A56
monochromatic
#190517 #470F40 #7A196E #AD239C #D637C2

Accessibility & contrast

On white

9.58
#7A196E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A196E
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A196E#FFFFFF#000000##FFFFFF
##7A196E1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163C70
Deuteranopia (green-blind)
#3B4A6C
Tritanopia (blue-blind)
#802342
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a196e;
/* rgb */ color: rgb(122, 25, 110);
/* oklch */ color: oklch(41.2% 0.161 333.8);
Tailwind
colors: {
  custom: {
    50: '#a46298',
    500: '#7a196e',
    950: '#000000',
  },
}
SCSS
$custom: #7a196e;
$custom-light: #a46298;
$custom-dark: #000000;
JSON
{
  "hex": "#7a196e",
  "rgb": {
    "r": 122,
    "g": 25,
    "b": 110
  },
  "hsl": {
    "h": 307.423,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41195,
    "c": 0.16078,
    "h": 333.8
  },
  "luminance": 0.05959
}

Semantic roles & 50–950 ramp

primary
#7A196E
secondary
#40AF4E
accent
#E9543F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7A196E

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

Preview Lab → · Contrast checker → · Palette generator →

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