#7E1E79#7E1E79

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

Color values

HEX#7E1E79
RGBrgb(126, 30, 121)
HSLhsl(303, 62%, 31%)
HSVhsv(303, 76%, 49%)
CMYKcmyk(0%, 76.2%, 4%, 50.6%)
CIE-LABlab(31.22, 50.87, -29.81)
CIE-LCHlch(31.22, 58.96, 329.63°)
OKLaboklab(42.9% 0.1443 -0.0823)
OKLCHoklch(42.9% 0.166 330.3)
XYZxyz(12.5196, 6.7456, 18.7281)
Luminance0.0674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E79 #1E7E23
analogous
#531E7E #7E1E79 #7E1E49
triadic
#7E1E79 #797E1E #1E797E
tetradic
#7E1E79 #7E531E #1E7E23 #1E497E
square
#7E1E79 #7E531E #1E7E23 #1E497E
split-complementary
#7E1E79 #497E1E #1E7E53
monochromatic
#1B061A #4D124A #7E1E79 #AF2AA8 #D244CB

Accessibility & contrast

On white

8.94
#7E1E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7E1E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E79
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E79#FFFFFF#000000##FFFFFF
##7E1E791.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12417B
Deuteranopia (green-blind)
#3B4E77
Tritanopia (blue-blind)
#832B4A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e1e79;
/* rgb */ color: rgb(126, 30, 121);
/* oklch */ color: oklch(42.9% 0.166 330.3);
Tailwind
colors: {
  custom: {
    50: '#a765a0',
    500: '#7e1e79',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e79;
$custom-light: #a765a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e79",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 303.125,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42902,
    "c": 0.1661,
    "h": 330.3
  },
  "luminance": 0.06745
}

Semantic roles & 50–950 ramp

primary
#7E1E79
secondary
#47B14C
accent
#E54C43
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7E1E79

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

Preview Lab → · Contrast checker → · Palette generator →

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