#7E1C70#7E1C70

#7E1C70 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.161 H 334.6°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#7E1C70
RGBrgb(126, 28, 112)
HSLhsl(309, 64%, 30%)
HSVhsv(309, 78%, 49%)
CMYKcmyk(0%, 77.8%, 11.1%, 50.6%)
CIE-LABlab(30.49, 50.06, -25.25)
CIE-LCHlch(30.49, 56.07, 333.23°)
OKLaboklab(42.22% 0.1458 -0.0691)
OKLCHoklch(42.22% 0.161 334.6)
XYZxyz(11.9442, 6.4370, 15.9395)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1C70 #1C7E2A
analogous
#5B1C7E #7E1C70 #7E1C3F
triadic
#7E1C70 #707E1C #1C707E
tetradic
#7E1C70 #7E5B1C #1C7E2A #1C3F7E
square
#7E1C70 #7E5B1C #1C7E2A #1C3F7E
split-complementary
#7E1C70 #3F7E1C #1C7E5B
monochromatic
#1A0617 #4C1143 #7E1C70 #B0279D #D540BF

Accessibility & contrast

On white

9.18
#7E1C70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7E1C70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1C70
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1C70#FFFFFF#000000##FFFFFF
##7E1C701.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3F72
Deuteranopia (green-blind)
#3F4D6E
Tritanopia (blue-blind)
#842544
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e1c70;
/* rgb */ color: rgb(126, 28, 112);
/* oklch */ color: oklch(42.2% 0.161 334.6);
Tailwind
colors: {
  custom: {
    50: '#a76499',
    500: '#7e1c70',
    950: '#000000',
  },
}
SCSS
$custom: #7e1c70;
$custom-light: #a76499;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1c70",
  "rgb": {
    "r": 126,
    "g": 28,
    "b": 112
  },
  "hsl": {
    "h": 308.571,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42216,
    "c": 0.16135,
    "h": 334.6
  },
  "luminance": 0.06436
}

Semantic roles & 50–950 ramp

primary
#7E1C70
secondary
#44B254
accent
#E75941
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E1C70

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

Preview Lab → · Contrast checker → · Palette generator →

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