#7A1A7A#7A1A7A

#7A1A7A is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.169 H 328.1°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#7A1A7A
RGBrgb(122, 26, 122)
HSLhsl(300, 65%, 29%)
HSVhsv(300, 79%, 48%)
CMYKcmyk(0%, 78.7%, 0%, 52.2%)
CIE-LABlab(30.11, 51.42, -32.24)
CIE-LCHlch(30.11, 60.70, 327.91°)
OKLaboklab(41.99% 0.1435 -0.0894)
OKLCHoklch(41.99% 0.169 328.1)
XYZxyz(11.9081, 6.2824, 18.9940)
Luminance0.0628 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1A7A #1A7A1A
analogous
#4A1A7A #7A1A7A #7A1A4A
triadic
#7A1A7A #7A7A1A #1A7A7A
tetradic
#7A1A7A #7A4A1A #1A7A1A #1A4A7A
square
#7A1A7A #7A4A1A #1A7A1A #1A4A7A
split-complementary
#7A1A7A #4A7A1A #1A7A4A
monochromatic
#190519 #480F48 #7A1A7A #AC25AC #D539D5

Accessibility & contrast

On white

9.31
#7A1A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7A1A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1A7A
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1A7A#FFFFFF#000000##FFFFFF
##7A1A7A1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023F7D
Deuteranopia (green-blind)
#354B78
Tritanopia (blue-blind)
#7E2A49
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a1a7a;
/* rgb */ color: rgb(122, 26, 122);
/* oklch */ color: oklch(42.0% 0.169 328.1);
Tailwind
colors: {
  custom: {
    50: '#a463a1',
    500: '#7a1a7a',
    950: '#000000',
  },
}
SCSS
$custom: #7a1a7a;
$custom-light: #a463a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1a7a",
  "rgb": {
    "r": 122,
    "g": 26,
    "b": 122
  },
  "hsl": {
    "h": 300,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41994,
    "c": 0.1691,
    "h": 328.1
  },
  "luminance": 0.06282
}

Semantic roles & 50–950 ramp

primary
#7A1A7A
secondary
#41AE41
accent
#E84040
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7A1A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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