#7E2E73#7E2E73

#7E2E73 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.2% C 0.140 H 333.4°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#7E2E73
RGBrgb(126, 46, 115)
HSLhsl(308, 47%, 34%)
HSVhsv(308, 63%, 49%)
CMYKcmyk(0%, 63.5%, 8.7%, 50.6%)
CIE-LABlab(33.20, 43.40, -22.92)
CIE-LCHlch(33.20, 49.08, 332.16°)
OKLaboklab(44.23% 0.1252 -0.0626)
OKLCHoklch(44.23% 0.14 333.4)
XYZxyz(12.6757, 7.6284, 17.0211)
Luminance0.0763 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E73 #2E7E39
analogous
#612E7E #7E2E73 #7E2E4B
triadic
#7E2E73 #737E2E #2E737E
tetradic
#7E2E73 #7E612E #2E7E39 #2E4B7E
square
#7E2E73 #7E612E #2E7E39 #2E4B7E
split-complementary
#7E2E73 #4B7E2E #2E7E61
monochromatic
#240D21 #511E4A #7E2E73 #AB3E9C #C561B8

Accessibility & contrast

On white

8.32
#7E2E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7E2E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2E73
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E73#FFFFFF#000000##FFFFFF
##7E2E731.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4775
Deuteranopia (green-blind)
#465271
Tritanopia (blue-blind)
#84344C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7e2e73;
/* rgb */ color: rgb(126, 46, 115);
/* oklch */ color: oklch(44.2% 0.140 333.4);
Tailwind
colors: {
  custom: {
    50: '#a66c9b',
    500: '#7e2e73',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e73;
$custom-light: #a66c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e73",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 115
  },
  "hsl": {
    "h": 308.25,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44228,
    "c": 0.13992,
    "h": 333.4
  },
  "luminance": 0.07627
}

Semantic roles & 50–950 ramp

primary
#7E2E73
secondary
#5CAC67
accent
#D66452
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7E2E73

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

Preview Lab → · Contrast checker → · Palette generator →

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