#7A1E9A#7A1E9A

#7A1E9A is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.5% C 0.192 H 315.2°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#7A1E9A
RGBrgb(122, 30, 154)
HSLhsl(285, 67%, 36%)
HSVhsv(285, 81%, 60%)
CMYKcmyk(20.8%, 80.5%, 0%, 39.6%)
CIE-LABlab(32.70, 56.15, -47.94)
CIE-LCHlch(32.70, 73.84, 319.51°)
OKLaboklab(44.51% 0.1366 -0.1354)
OKLCHoklch(44.51% 0.192 315.2)
XYZxyz(14.3221, 7.3998, 31.2395)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E9A #3E9A1E
analogous
#3C1E9A #7A1E9A #9A1E7C
triadic
#7A1E9A #9A7A1E #1E9A7A
tetradic
#7A1E9A #9A3C1E #3E9A1E #1E7C9A
square
#7A1E9A #9A3C1E #3E9A1E #1E7C9A
split-complementary
#7A1E9A #7C9A1E #1E9A3C
monochromatic
#290A34 #511467 #7A1E9A #A328CD #BA55DE

Accessibility & contrast

On white

8.47
#7A1E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7A1E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1E9A
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1E9A#FFFFFF#000000##FFFFFF
##7A1E9A1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#184F97
Tritanopia (blue-blind)
#773C5C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a1e9a;
/* rgb */ color: rgb(122, 30, 154);
/* oklch */ color: oklch(44.5% 0.192 315.2);
Tailwind
colors: {
  custom: {
    50: '#a566b8',
    500: '#7a1e9a',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e9a;
$custom-light: #a566b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e9a",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 154
  },
  "hsl": {
    "h": 284.516,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44508,
    "c": 0.19229,
    "h": 315.2
  },
  "luminance": 0.07399
}

Semantic roles & 50–950 ramp

primary
#7A1E9A
secondary
#6FC153
accent
#EA3E6A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7A1E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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