#7E1E76#7E1E76

#7E1E76 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.164 H 331.7°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#7E1E76
RGBrgb(126, 30, 118)
HSLhsl(305, 62%, 31%)
HSVhsv(305, 76%, 49%)
CMYKcmyk(0%, 76.2%, 6.3%, 50.6%)
CIE-LABlab(31.05, 50.36, -28.18)
CIE-LCHlch(31.05, 57.71, 330.77°)
OKLaboklab(42.73% 0.1442 -0.0776)
OKLCHoklch(42.73% 0.164 331.7)
XYZxyz(12.3385, 6.6732, 17.7742)
Luminance0.0667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E76 #1E7E26
analogous
#561E7E #7E1E76 #7E1E46
triadic
#7E1E76 #767E1E #1E767E
tetradic
#7E1E76 #7E561E #1E7E26 #1E467E
square
#7E1E76 #7E561E #1E7E26 #1E467E
split-complementary
#7E1E76 #467E1E #1E7E56
monochromatic
#1B0619 #4D1248 #7E1E76 #AF2AA4 #D244C7

Accessibility & contrast

On white

9.00
#7E1E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7E1E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E76
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E76#FFFFFF#000000##FFFFFF
##7E1E761.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174178
Deuteranopia (green-blind)
#3D4E74
Tritanopia (blue-blind)
#832948
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e1e76;
/* rgb */ color: rgb(126, 30, 118);
/* oklch */ color: oklch(42.7% 0.164 331.7);
Tailwind
colors: {
  custom: {
    50: '#a7659e',
    500: '#7e1e76',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e76;
$custom-light: #a7659e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e76",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 118
  },
  "hsl": {
    "h": 305,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42726,
    "c": 0.16374,
    "h": 331.7
  },
  "luminance": 0.06672
}

Semantic roles & 50–950 ramp

primary
#7E1E76
secondary
#47B14F
accent
#E55143
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E1E76

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

Preview Lab → · Contrast checker → · Palette generator →

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