#7A1970#7A1970

#7A1970 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.162 H 332.8°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#7A1970
RGBrgb(122, 25, 112)
HSLhsl(306, 66%, 29%)
HSVhsv(306, 80%, 48%)
CMYKcmyk(0%, 79.5%, 8.2%, 52.2%)
CIE-LABlab(29.42, 50.06, -26.98)
CIE-LCHlch(29.42, 56.87, 331.68°)
OKLaboklab(41.31% 0.1444 -0.0742)
OKLCHoklch(41.31% 0.162 332.8)
XYZxyz(11.2984, 6.0037, 15.8899)
Luminance0.0600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1970 #197A23
analogous
#54197A #7A1970 #7A1940
triadic
#7A1970 #707A19 #19707A
tetradic
#7A1970 #7A5419 #197A23 #19407A
square
#7A1970 #7A5419 #197A23 #19407A
split-complementary
#7A1970 #407A19 #197A54
monochromatic
#190517 #470F41 #7A1970 #AD239F #D637C6

Accessibility & contrast

On white

9.54
#7A1970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7A1970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1970
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1970#FFFFFF#000000##FFFFFF
##7A19701.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133D72
Deuteranopia (green-blind)
#3A4A6E
Tritanopia (blue-blind)
#802443
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a1970;
/* rgb */ color: rgb(122, 25, 112);
/* oklch */ color: oklch(41.3% 0.162 332.8);
Tailwind
colors: {
  custom: {
    50: '#a46299',
    500: '#7a1970',
    950: '#000000',
  },
}
SCSS
$custom: #7a1970;
$custom-light: #a46299;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1970",
  "rgb": {
    "r": 122,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 306.186,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41311,
    "c": 0.16229,
    "h": 332.8
  },
  "luminance": 0.06003
}

Semantic roles & 50–950 ramp

primary
#7A1970
secondary
#40AF4C
accent
#E9503F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A1970

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

Preview Lab → · Contrast checker → · Palette generator →

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