#7E2379#7E2379

#7E2379 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.160 H 330.3°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#7E2379
RGBrgb(126, 35, 121)
HSLhsl(303, 57%, 32%)
HSVhsv(303, 72%, 49%)
CMYKcmyk(0%, 72.2%, 4%, 50.6%)
CIE-LABlab(31.85, 49.07, -28.82)
CIE-LCHlch(31.85, 56.91, 329.58°)
OKLaboklab(43.35% 0.1392 -0.0794)
OKLCHoklch(43.35% 0.16 330.3)
XYZxyz(12.6563, 7.0191, 18.7737)
Luminance0.0702 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2379 #237E28
analogous
#56237E #7E2379 #7E234C
triadic
#7E2379 #797E23 #23797E
tetradic
#7E2379 #7E5623 #237E28 #234C7E
square
#7E2379 #7E5623 #237E28 #234C7E
split-complementary
#7E2379 #4C7E23 #237E56
monochromatic
#1E081D #4E164B #7E2379 #AE30A7 #CE4EC7

Accessibility & contrast

On white

8.74
#7E2379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7E2379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2379
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2379#FFFFFF#000000##FFFFFF
##7E23791.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A437B
Deuteranopia (green-blind)
#3E4F77
Tritanopia (blue-blind)
#832E4B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e2379;
/* rgb */ color: rgb(126, 35, 121);
/* oklch */ color: oklch(43.4% 0.160 330.3);
Tailwind
colors: {
  custom: {
    50: '#a667a0',
    500: '#7e2379',
    950: '#000000',
  },
}
SCSS
$custom: #7e2379;
$custom-light: #a667a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2379",
  "rgb": {
    "r": 126,
    "g": 35,
    "b": 121
  },
  "hsl": {
    "h": 303.297,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43354,
    "c": 0.16022,
    "h": 330.3
  },
  "luminance": 0.07018
}

Semantic roles & 50–950 ramp

primary
#7E2379
secondary
#4CB052
accent
#E05048
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E2379

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

Preview Lab → · Contrast checker → · Palette generator →

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