#7A1A96#7A1A96

#7A1A96 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.9% C 0.192 H 316.9°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#7A1A96
RGBrgb(122, 26, 150)
HSLhsl(286, 70%, 35%)
HSVhsv(286, 83%, 59%)
CMYKcmyk(18.7%, 82.7%, 0%, 41.2%)
CIE-LABlab(31.99, 56.59, -46.65)
CIE-LCHlch(31.99, 73.34, 320.50°)
OKLaboklab(43.91% 0.1404 -0.1316)
OKLCHoklch(43.91% 0.192 316.9)
XYZxyz(13.8996, 7.0790, 29.4825)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1A96 #36961A
analogous
#3C1A96 #7A1A96 #961A74
triadic
#7A1A96 #967A1A #1A967A
tetradic
#7A1A96 #963C1A #36961A #1A7496
square
#7A1A96 #963C1A #36961A #1A7496
split-complementary
#7A1A96 #74961A #1A963C
monochromatic
#25082E #501162 #7A1A96 #A423CA #BE4BE0

Accessibility & contrast

On white

8.69
#7A1A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7A1A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1A96
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1A96#FFFFFF#000000##FFFFFF
##7A1A961.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#1B4E93
Tritanopia (blue-blind)
#783859
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7a1a96;
/* rgb */ color: rgb(122, 26, 150);
/* oklch */ color: oklch(43.9% 0.192 316.9);
Tailwind
colors: {
  custom: {
    50: '#a564b6',
    500: '#7a1a96',
    950: '#000000',
  },
}
SCSS
$custom: #7a1a96;
$custom-light: #a564b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1a96",
  "rgb": {
    "r": 122,
    "g": 26,
    "b": 150
  },
  "hsl": {
    "h": 286.452,
    "s": 70.455,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43914,
    "c": 0.19241,
    "h": 316.9
  },
  "luminance": 0.07078
}

Semantic roles & 50–950 ramp

primary
#7A1A96
secondary
#65C24A
accent
#ED3B63
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7A1A96

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

Preview Lab → · Contrast checker → · Palette generator →

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