#7E3073#7E3073

#7E3073 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.5% C 0.137 H 333.5°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#7E3073
RGBrgb(126, 48, 115)
HSLhsl(308, 45%, 34%)
HSVhsv(308, 62%, 49%)
CMYKcmyk(0%, 61.9%, 8.7%, 50.6%)
CIE-LABlab(33.54, 42.47, -22.38)
CIE-LCHlch(33.54, 48.00, 332.20°)
OKLaboklab(44.48% 0.1224 -0.0611)
OKLCHoklch(44.48% 0.137 333.5)
XYZxyz(12.7557, 7.7883, 17.0478)
Luminance0.0779 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3073 #307E3B
analogous
#62307E #7E3073 #7E304C
triadic
#7E3073 #737E30 #30737E
tetradic
#7E3073 #7E6230 #307E3B #304C7E
square
#7E3073 #7E6230 #307E3B #304C7E
split-complementary
#7E3073 #4C7E30 #307E62
monochromatic
#250E22 #521F4B #7E3073 #AA419B #C464B7

Accessibility & contrast

On white

8.21
#7E3073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7E3073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E3073
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3073#FFFFFF#000000##FFFFFF
##7E30731.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4875
Deuteranopia (green-blind)
#475371
Tritanopia (blue-blind)
#84364D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7e3073;
/* rgb */ color: rgb(126, 48, 115);
/* oklch */ color: oklch(44.5% 0.137 333.5);
Tailwind
colors: {
  custom: {
    50: '#a66d9b',
    500: '#7e3073',
    950: '#000000',
  },
}
SCSS
$custom: #7e3073;
$custom-light: #a66d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3073",
  "rgb": {
    "r": 126,
    "g": 48,
    "b": 115
  },
  "hsl": {
    "h": 308.462,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44478,
    "c": 0.1368,
    "h": 333.5
  },
  "luminance": 0.07787
}

Semantic roles & 50–950 ramp

primary
#7E3073
secondary
#5FAB69
accent
#D56653
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7E3073

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

Preview Lab → · Contrast checker → · Palette generator →

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