#7E2973#7E2973

#7E2973 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.6% C 0.147 H 333.3°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#7E2973
RGBrgb(126, 41, 115)
HSLhsl(308, 51%, 33%)
HSVhsv(308, 67%, 49%)
CMYKcmyk(0%, 67.5%, 8.7%, 50.6%)
CIE-LABlab(32.39, 45.63, -24.17)
CIE-LCHlch(32.39, 51.63, 332.08°)
OKLaboklab(43.64% 0.1316 -0.0661)
OKLCHoklch(43.64% 0.147 333.3)
XYZxyz(12.4917, 7.2603, 16.9598)
Luminance0.0726 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2973 #297E34
analogous
#5F297E #7E2973 #7E2948
triadic
#7E2973 #737E29 #29737E
tetradic
#7E2973 #7E5F29 #297E34 #29487E
square
#7E2973 #7E5F29 #297E34 #29487E
split-complementary
#7E2973 #487E29 #297E5F
monochromatic
#220B1F #501A49 #7E2973 #AC389D #C959BA

Accessibility & contrast

On white

8.57
#7E2973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7E2973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2973
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2973#FFFFFF#000000##FFFFFF
##7E29731.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274475
Deuteranopia (green-blind)
#435171
Tritanopia (blue-blind)
#84304A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7e2973;
/* rgb */ color: rgb(126, 41, 115);
/* oklch */ color: oklch(43.6% 0.147 333.3);
Tailwind
colors: {
  custom: {
    50: '#a66a9b',
    500: '#7e2973',
    950: '#000000',
  },
}
SCSS
$custom: #7e2973;
$custom-light: #a66a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2973",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 115
  },
  "hsl": {
    "h": 307.765,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43642,
    "c": 0.14731,
    "h": 333.3
  },
  "luminance": 0.07259
}

Semantic roles & 50–950 ramp

primary
#7E2973
secondary
#55AE60
accent
#DA604D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7E2973

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

Preview Lab → · Contrast checker → · Palette generator →

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