#7E1379#7E1379

#7E1379 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.177 H 330.4°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#7E1379
RGBrgb(126, 19, 121)
HSLhsl(303, 74%, 28%)
HSVhsv(303, 85%, 49%)
CMYKcmyk(0%, 84.9%, 4%, 50.6%)
CIE-LABlab(30.12, 54.05, -31.56)
CIE-LCHlch(30.12, 62.59, 329.72°)
OKLaboklab(42.11% 0.1535 -0.0873)
OKLCHoklch(42.11% 0.177 330.4)
XYZxyz(12.2882, 6.2829, 18.6510)
Luminance0.0628 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1379 #137E18
analogous
#4D137E #7E1379 #7E1343
triadic
#7E1379 #797E13 #13797E
tetradic
#7E1379 #7E4D13 #137E18 #13437E
square
#7E1379 #7E4D13 #137E18 #13437E
split-complementary
#7E1379 #437E13 #137E4D
monochromatic
#1B041A #490B46 #7E1379 #B31BAC #DF2CD7

Accessibility & contrast

On white

9.31
#7E1379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7E1379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1379
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1379#FFFFFF#000000##FFFFFF
##7E13791.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#374C77
Tritanopia (blue-blind)
#832447
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e1379;
/* rgb */ color: rgb(126, 19, 121);
/* oklch */ color: oklch(42.1% 0.177 330.4);
Tailwind
colors: {
  custom: {
    50: '#a761a0',
    500: '#7e1379',
    950: '#000000',
  },
}
SCSS
$custom: #7e1379;
$custom-light: #a761a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1379",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 121
  },
  "hsl": {
    "h": 302.804,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.42114,
    "c": 0.17655,
    "h": 330.4
  },
  "luminance": 0.06282
}

Semantic roles & 50–950 ramp

primary
#7E1379
secondary
#39B43F
accent
#F04037
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7E1379

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

Preview Lab → · Contrast checker → · Palette generator →

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