#7E1373#7E1373

#7E1373 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.8% C 0.172 H 333.1°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#7E1373
RGBrgb(126, 19, 115)
HSLhsl(306, 74%, 28%)
HSVhsv(306, 85%, 49%)
CMYKcmyk(0%, 84.9%, 8.7%, 50.6%)
CIE-LABlab(29.76, 53.10, -28.31)
CIE-LCHlch(29.76, 60.18, 331.94°)
OKLaboklab(41.75% 0.1535 -0.0778)
OKLCHoklch(41.75% 0.172 333.1)
XYZxyz(11.9317, 6.1402, 16.7731)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1373 #137E1E
analogous
#53137E #7E1373 #7E133D
triadic
#7E1373 #737E13 #13737E
tetradic
#7E1373 #7E5313 #137E1E #133D7E
square
#7E1373 #7E5313 #137E1E #133D7E
split-complementary
#7E1373 #3D7E13 #137E53
monochromatic
#1B0418 #490B42 #7E1373 #B31BA4 #DF2CCD

Accessibility & contrast

On white

9.43
#7E1373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7E1373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1373
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1373#FFFFFF#000000##FFFFFF
##7E13731.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3D75
Deuteranopia (green-blind)
#3B4B71
Tritanopia (blue-blind)
#842144
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1373;
/* rgb */ color: rgb(126, 19, 115);
/* oklch */ color: oklch(41.8% 0.172 333.1);
Tailwind
colors: {
  custom: {
    50: '#a7619b',
    500: '#7e1373',
    950: '#000000',
  },
}
SCSS
$custom: #7e1373;
$custom-light: #a7619b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1373",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 115
  },
  "hsl": {
    "h": 306.168,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4175,
    "c": 0.17212,
    "h": 333.1
  },
  "luminance": 0.06139
}

Semantic roles & 50–950 ramp

primary
#7E1373
secondary
#39B446
accent
#F04A37
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E1373

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

Preview Lab → · Contrast checker → · Palette generator →

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