#7E1E73#7E1E73

#7E1E73 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.161 H 333.2°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#7E1E73
RGBrgb(126, 30, 115)
HSLhsl(307, 62%, 31%)
HSVhsv(307, 76%, 49%)
CMYKcmyk(0%, 76.2%, 8.7%, 50.6%)
CIE-LABlab(30.89, 49.87, -26.54)
CIE-LCHlch(30.89, 56.49, 331.98°)
OKLaboklab(42.55% 0.1441 -0.0728)
OKLCHoklch(42.55% 0.161 333.2)
XYZxyz(12.1630, 6.6030, 16.8502)
Luminance0.0660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E73 #1E7E29
analogous
#591E7E #7E1E73 #7E1E43
triadic
#7E1E73 #737E1E #1E737E
tetradic
#7E1E73 #7E591E #1E7E29 #1E437E
square
#7E1E73 #7E591E #1E7E29 #1E437E
split-complementary
#7E1E73 #437E1E #1E7E59
monochromatic
#1B0619 #4D1246 #7E1E73 #AF2AA0 #D244C2

Accessibility & contrast

On white

9.05
#7E1E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7E1E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E73
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E73#FFFFFF#000000##FFFFFF
##7E1E731.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4075
Deuteranopia (green-blind)
#3E4E71
Tritanopia (blue-blind)
#842846
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e1e73;
/* rgb */ color: rgb(126, 30, 115);
/* oklch */ color: oklch(42.6% 0.161 333.2);
Tailwind
colors: {
  custom: {
    50: '#a7659b',
    500: '#7e1e73',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e73;
$custom-light: #a7659b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e73",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 115
  },
  "hsl": {
    "h": 306.875,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42553,
    "c": 0.16141,
    "h": 333.2
  },
  "luminance": 0.06602
}

Semantic roles & 50–950 ramp

primary
#7E1E73
secondary
#47B153
accent
#E55643
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E1E73

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

Preview Lab → · Contrast checker → · Palette generator →

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