#7E1E70#7E1E70

#7E1E70 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.159 H 334.7°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#7E1E70
RGBrgb(126, 30, 112)
HSLhsl(309, 62%, 31%)
HSVhsv(309, 76%, 49%)
CMYKcmyk(0%, 76.2%, 11.1%, 50.6%)
CIE-LABlab(30.72, 49.39, -24.88)
CIE-LCHlch(30.72, 55.30, 333.26°)
OKLaboklab(42.39% 0.1438 -0.0681)
OKLCHoklch(42.39% 0.159 334.7)
XYZxyz(11.9932, 6.5351, 15.9558)
Luminance0.0653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E70 #1E7E2C
analogous
#5C1E7E #7E1E70 #7E1E40
triadic
#7E1E70 #707E1E #1E707E
tetradic
#7E1E70 #7E5C1E #1E7E2C #1E407E
square
#7E1E70 #7E5C1E #1E7E2C #1E407E
split-complementary
#7E1E70 #407E1E #1E7E5C
monochromatic
#1B0618 #4D1244 #7E1E70 #AF2A9C #D244BE

Accessibility & contrast

On white

9.10
#7E1E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7E1E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E70
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E70#FFFFFF#000000##FFFFFF
##7E1E701.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3F72
Deuteranopia (green-blind)
#404D6E
Tritanopia (blue-blind)
#842645
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e1e70;
/* rgb */ color: rgb(126, 30, 112);
/* oklch */ color: oklch(42.4% 0.159 334.7);
Tailwind
colors: {
  custom: {
    50: '#a76599',
    500: '#7e1e70',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e70;
$custom-light: #a76599;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e70",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 112
  },
  "hsl": {
    "h": 308.75,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42385,
    "c": 0.15912,
    "h": 334.7
  },
  "luminance": 0.06534
}

Semantic roles & 50–950 ramp

primary
#7E1E70
secondary
#47B156
accent
#E55B43
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E1E70

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

Preview Lab → · Contrast checker → · Palette generator →

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