#7A1E91#7A1E91

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

Color values

HEX#7A1E91
RGBrgb(122, 30, 145)
HSLhsl(288, 66%, 34%)
HSVhsv(288, 79%, 57%)
CMYKcmyk(15.9%, 79.3%, 0%, 43.1%)
CIE-LABlab(32.06, 54.37, -43.47)
CIE-LCHlch(32.06, 69.61, 321.36°)
OKLaboklab(43.85% 0.1381 -0.1222)
OKLCHoklch(43.85% 0.184 318.5)
XYZxyz(13.6004, 7.1111, 27.4388)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E91 #35911E
analogous
#411E91 #7A1E91 #911E6F
triadic
#7A1E91 #917A1E #1E917A
tetradic
#7A1E91 #91411E #35911E #1E6F91
square
#7A1E91 #91411E #35911E #1E6F91
split-complementary
#7A1E91 #6F911E #1E9141
monochromatic
#25092C #4F145E #7A1E91 #A528C4 #BF4FDB

Accessibility & contrast

On white

8.67
#7A1E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1E91
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1E91#FFFFFF#000000##FFFFFF
##7A1E911.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004694
Deuteranopia (green-blind)
#254E8F
Tritanopia (blue-blind)
#793757
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7a1e91;
/* rgb */ color: rgb(122, 30, 145);
/* oklch */ color: oklch(43.9% 0.184 318.5);
Tailwind
colors: {
  custom: {
    50: '#a465b2',
    500: '#7a1e91',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e91;
$custom-light: #a465b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e91",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 145
  },
  "hsl": {
    "h": 288,
    "s": 65.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43853,
    "c": 0.18439,
    "h": 318.5
  },
  "luminance": 0.0711
}

Semantic roles & 50–950 ramp

primary
#7A1E91
secondary
#64BD4D
accent
#E93F61
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7A1E91

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

Preview Lab → · Contrast checker → · Palette generator →

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