#7A1A71#7A1A71

#7A1A71 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.4% C 0.162 H 332.3°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#7A1A71
RGBrgb(122, 26, 113)
HSLhsl(306, 65%, 29%)
HSVhsv(306, 79%, 48%)
CMYKcmyk(0%, 78.7%, 7.4%, 52.2%)
CIE-LABlab(29.59, 49.91, -27.36)
CIE-LCHlch(29.59, 56.92, 331.27°)
OKLaboklab(41.45% 0.1435 -0.0753)
OKLCHoklch(41.45% 0.162 332.3)
XYZxyz(11.3761, 6.0696, 16.1920)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1A71 #1A7A23
analogous
#531A7A #7A1A71 #7A1A41
triadic
#7A1A71 #717A1A #1A717A
tetradic
#7A1A71 #7A531A #1A7A23 #1A417A
square
#7A1A71 #7A531A #1A7A23 #1A417A
split-complementary
#7A1A71 #417A1A #1A7A53
monochromatic
#190517 #480F42 #7A1A71 #AC25A0 #D539C6

Accessibility & contrast

On white

9.49
#7A1A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1A71
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1A71#FFFFFF#000000##FFFFFF
##7A1A711.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133D73
Deuteranopia (green-blind)
#3A4A6F
Tritanopia (blue-blind)
#7F2544
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a1a71;
/* rgb */ color: rgb(122, 26, 113);
/* oklch */ color: oklch(41.4% 0.162 332.3);
Tailwind
colors: {
  custom: {
    50: '#a4629a',
    500: '#7a1a71',
    950: '#000000',
  },
}
SCSS
$custom: #7a1a71;
$custom-light: #a4629a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1a71",
  "rgb": {
    "r": 122,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 305.625,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41448,
    "c": 0.16202,
    "h": 332.3
  },
  "luminance": 0.06069
}

Semantic roles & 50–950 ramp

primary
#7A1A71
secondary
#41AE4C
accent
#E85040
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A1A71

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

Preview Lab → · Contrast checker → · Palette generator →

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