#7A2071#7A2071

#7A2071 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.0% C 0.155 H 332.4°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#7A2071
RGBrgb(122, 32, 113)
HSLhsl(306, 58%, 30%)
HSVhsv(306, 74%, 48%)
CMYKcmyk(0%, 73.8%, 7.4%, 52.2%)
CIE-LABlab(30.31, 47.84, -26.22)
CIE-LCHlch(30.31, 54.56, 331.28°)
OKLaboklab(41.97% 0.1375 -0.072)
OKLCHoklch(41.97% 0.155 332.4)
XYZxyz(11.5232, 6.3638, 16.2410)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2071 #207A29
analogous
#56207A #7A2071 #7A2044
triadic
#7A2071 #717A20 #20717A
tetradic
#7A2071 #7A5620 #207A29 #20447A
square
#7A2071 #7A5620 #207A29 #20447A
split-complementary
#7A2071 #447A20 #207A56
monochromatic
#190717 #4A1344 #7A2071 #AA2D9E #CE46C1

Accessibility & contrast

On white

9.24
#7A2071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7A2071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2071
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2071#FFFFFF#000000##FFFFFF
##7A20711.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3F73
Deuteranopia (green-blind)
#3D4C6F
Tritanopia (blue-blind)
#7F2946
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a2071;
/* rgb */ color: rgb(122, 32, 113);
/* oklch */ color: oklch(42.0% 0.155 332.4);
Tailwind
colors: {
  custom: {
    50: '#a4659a',
    500: '#7a2071',
    950: '#000000',
  },
}
SCSS
$custom: #7a2071;
$custom-light: #a4659a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2071",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 306,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41969,
    "c": 0.15517,
    "h": 332.4
  },
  "luminance": 0.06363
}

Semantic roles & 50–950 ramp

primary
#7A2071
secondary
#49AD53
accent
#E25646
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A2071

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

Preview Lab → · Contrast checker → · Palette generator →

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