#7A1D8A#7A1D8A

#7A1D8A is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.179 H 321.2°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#7A1D8A
RGBrgb(122, 29, 138)
HSLhsl(291, 65%, 33%)
HSVhsv(291, 79%, 54%)
CMYKcmyk(11.6%, 79%, 0%, 45.9%)
CIE-LABlab(31.47, 53.36, -40.09)
CIE-LCHlch(31.47, 66.74, 323.08°)
OKLaboklab(43.28% 0.1398 -0.1123)
OKLCHoklch(43.28% 0.179 321.2)
XYZxyz(13.0523, 6.8520, 24.6749)
Luminance0.0685 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1D8A #2D8A1D
analogous
#441D8A #7A1D8A #8A1D63
triadic
#7A1D8A #8A7A1D #1D8A7A
tetradic
#7A1D8A #8A441D #2D8A1D #1D638A
square
#7A1D8A #8A441D #2D8A1D #1D638A
split-complementary
#7A1D8A #638A1D #1D8A44
monochromatic
#210825 #4D1257 #7A1D8A #A728BD #C449D9

Accessibility & contrast

On white

8.86
#7A1D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7A1D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1D8A
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1D8A#FFFFFF#000000##FFFFFF
##7A1D8A1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#2B4D88
Tritanopia (blue-blind)
#7B3353
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a1d8a;
/* rgb */ color: rgb(122, 29, 138);
/* oklch */ color: oklch(43.3% 0.179 321.2);
Tailwind
colors: {
  custom: {
    50: '#a465ad',
    500: '#7a1d8a',
    950: '#000000',
  },
}
SCSS
$custom: #7a1d8a;
$custom-light: #a465ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1d8a",
  "rgb": {
    "r": 122,
    "g": 29,
    "b": 138
  },
  "hsl": {
    "h": 291.193,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43283,
    "c": 0.17934,
    "h": 321.2
  },
  "luminance": 0.06851
}

Semantic roles & 50–950 ramp

primary
#7A1D8A
secondary
#59BB48
accent
#E84058
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A1D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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