#7E1E77#7E1E77

#7E1E77 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.165 H 331.3°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#7E1E77
RGBrgb(126, 30, 119)
HSLhsl(304, 62%, 31%)
HSVhsv(304, 76%, 49%)
CMYKcmyk(0%, 76.2%, 5.6%, 50.6%)
CIE-LABlab(31.11, 50.53, -28.73)
CIE-LCHlch(31.11, 58.12, 330.38°)
OKLaboklab(42.78% 0.1442 -0.0791)
OKLCHoklch(42.78% 0.165 331.3)
XYZxyz(12.3982, 6.6971, 18.0889)
Luminance0.0670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E77 #1E7E25
analogous
#551E7E #7E1E77 #7E1E47
triadic
#7E1E77 #777E1E #1E777E
tetradic
#7E1E77 #7E551E #1E7E25 #1E477E
square
#7E1E77 #7E551E #1E7E25 #1E477E
split-complementary
#7E1E77 #477E1E #1E7E55
monochromatic
#1B061A #4D1248 #7E1E77 #AF2AA6 #D244C8

Accessibility & contrast

On white

8.98
#7E1E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1E77
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E77#FFFFFF#000000##FFFFFF
##7E1E771.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154179
Deuteranopia (green-blind)
#3C4E75
Tritanopia (blue-blind)
#832A49
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e1e77;
/* rgb */ color: rgb(126, 30, 119);
/* oklch */ color: oklch(42.8% 0.165 331.3);
Tailwind
colors: {
  custom: {
    50: '#a7659e',
    500: '#7e1e77',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e77;
$custom-light: #a7659e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e77",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 119
  },
  "hsl": {
    "h": 304.375,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42784,
    "c": 0.16452,
    "h": 331.3
  },
  "luminance": 0.06696
}

Semantic roles & 50–950 ramp

primary
#7E1E77
secondary
#47B14E
accent
#E54F43
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E1E77

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

Preview Lab → · Contrast checker → · Palette generator →

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