#7A1973#7A1973

#7A1973 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.165 H 331.4°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#7A1973
RGBrgb(122, 25, 115)
HSLhsl(304, 66%, 29%)
HSVhsv(304, 80%, 48%)
CMYKcmyk(0%, 79.5%, 5.7%, 52.2%)
CIE-LABlab(29.59, 50.55, -28.63)
CIE-LCHlch(29.59, 58.10, 330.48°)
OKLaboklab(41.49% 0.1445 -0.0789)
OKLCHoklch(41.49% 0.165 331.4)
XYZxyz(11.4682, 6.0716, 16.7843)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1973 #197A20
analogous
#51197A #7A1973 #7A1943
triadic
#7A1973 #737A19 #19737A
tetradic
#7A1973 #7A5119 #197A20 #19437A
square
#7A1973 #7A5119 #197A20 #19437A
split-complementary
#7A1973 #437A19 #197A51
monochromatic
#190518 #470F43 #7A1973 #AD23A3 #D637CB

Accessibility & contrast

On white

9.48
#7A1973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7A1973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1973
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1973#FFFFFF#000000##FFFFFF
##7A19731.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3D75
Deuteranopia (green-blind)
#394A71
Tritanopia (blue-blind)
#7F2645
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a1973;
/* rgb */ color: rgb(122, 25, 115);
/* oklch */ color: oklch(41.5% 0.165 331.4);
Tailwind
colors: {
  custom: {
    50: '#a4629b',
    500: '#7a1973',
    950: '#000000',
  },
}
SCSS
$custom: #7a1973;
$custom-light: #a4629b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1973",
  "rgb": {
    "r": 122,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 304.33,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41488,
    "c": 0.1646,
    "h": 331.4
  },
  "luminance": 0.06071
}

Semantic roles & 50–950 ramp

primary
#7A1973
secondary
#40AF48
accent
#E94B3F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A1973

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

Preview Lab → · Contrast checker → · Palette generator →

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