#7A1D84#7A1D84

#7A1D84 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.174 H 323.7°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#7A1D84
RGBrgb(122, 29, 132)
HSLhsl(294, 64%, 32%)
HSVhsv(294, 78%, 52%)
CMYKcmyk(7.6%, 78%, 0%, 48.2%)
CIE-LABlab(31.07, 52.24, -36.99)
CIE-LCHlch(31.07, 64.01, 324.70°)
OKLaboklab(42.88% 0.1403 -0.1033)
OKLCHoklch(42.88% 0.174 323.7)
XYZxyz(12.6299, 6.6830, 22.4500)
Luminance0.0668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1D84 #27841D
analogous
#471D84 #7A1D84 #841D5B
triadic
#7A1D84 #847A1D #1D847A
tetradic
#7A1D84 #84471D #27841D #1D5B84
square
#7A1D84 #84471D #27841D #1D5B84
split-complementary
#7A1D84 #5B841D #1D8447
monochromatic
#1D0720 #4C1252 #7A1D84 #A828B6 #C845D6

Accessibility & contrast

On white

8.99
#7A1D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7A1D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1D84
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1D84#FFFFFF#000000##FFFFFF
##7A1D841.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004287
Deuteranopia (green-blind)
#304D82
Tritanopia (blue-blind)
#7C3150
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a1d84;
/* rgb */ color: rgb(122, 29, 132);
/* oklch */ color: oklch(42.9% 0.174 323.7);
Tailwind
colors: {
  custom: {
    50: '#a464a8',
    500: '#7a1d84',
    950: '#000000',
  },
}
SCSS
$custom: #7a1d84;
$custom-light: #a464a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1d84",
  "rgb": {
    "r": 122,
    "g": 29,
    "b": 132
  },
  "hsl": {
    "h": 294.175,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42878,
    "c": 0.17424,
    "h": 323.7
  },
  "luminance": 0.06682
}

Semantic roles & 50–950 ramp

primary
#7A1D84
secondary
#51B746
accent
#E74151
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A1D84

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

Preview Lab → · Contrast checker → · Palette generator →

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