#7E2373#7E2373

#7E2373 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.0% C 0.155 H 333.2°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#7E2373
RGBrgb(126, 35, 115)
HSLhsl(307, 57%, 32%)
HSVhsv(307, 72%, 49%)
CMYKcmyk(0%, 72.2%, 8.7%, 50.6%)
CIE-LABlab(31.52, 48.06, -25.54)
CIE-LCHlch(31.52, 54.42, 332.02°)
OKLaboklab(43.01% 0.1388 -0.07)
OKLCHoklch(43.01% 0.155 333.2)
XYZxyz(12.2998, 6.8765, 16.8958)
Luminance0.0688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2373 #237E2E
analogous
#5C237E #7E2373 #7E2346
triadic
#7E2373 #737E23 #23737E
tetradic
#7E2373 #7E5C23 #237E2E #23467E
square
#7E2373 #7E5C23 #237E2E #23467E
split-complementary
#7E2373 #467E23 #237E5C
monochromatic
#1E081C #4E1647 #7E2373 #AE309F #CE4EBE

Accessibility & contrast

On white

8.84
#7E2373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7E2373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2373
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2373#FFFFFF#000000##FFFFFF
##7E23731.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204275
Deuteranopia (green-blind)
#404F71
Tritanopia (blue-blind)
#842B48
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e2373;
/* rgb */ color: rgb(126, 35, 115);
/* oklch */ color: oklch(43.0% 0.155 333.2);
Tailwind
colors: {
  custom: {
    50: '#a6679b',
    500: '#7e2373',
    950: '#000000',
  },
}
SCSS
$custom: #7e2373;
$custom-light: #a6679b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2373",
  "rgb": {
    "r": 126,
    "g": 35,
    "b": 115
  },
  "hsl": {
    "h": 307.253,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43013,
    "c": 0.15539,
    "h": 333.2
  },
  "luminance": 0.06875
}

Semantic roles & 50–950 ramp

primary
#7E2373
secondary
#4CB058
accent
#E05A48
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E2373

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

Preview Lab → · Contrast checker → · Palette generator →

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