#7E3072#7E3072

#7E3072 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.4% C 0.136 H 334.1°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#7E3072
RGBrgb(126, 48, 114)
HSLhsl(309, 45%, 34%)
HSVhsv(309, 62%, 49%)
CMYKcmyk(0%, 61.9%, 9.5%, 50.6%)
CIE-LABlab(33.49, 42.29, -21.83)
CIE-LCHlch(33.49, 47.59, 332.70°)
OKLaboklab(44.43% 0.1223 -0.0595)
OKLCHoklch(44.43% 0.136 334.1)
XYZxyz(12.6985, 7.7654, 16.7464)
Luminance0.0776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3072 #307E3C
analogous
#63307E #7E3072 #7E304B
triadic
#7E3072 #727E30 #30727E
tetradic
#7E3072 #7E6330 #307E3C #304B7E
square
#7E3072 #7E6330 #307E3C #304B7E
split-complementary
#7E3072 #4B7E30 #307E63
monochromatic
#250E22 #521F4A #7E3072 #AA419A #C464B5

Accessibility & contrast

On white

8.23
#7E3072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7E3072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E3072
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3072#FFFFFF#000000##FFFFFF
##7E30721.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4774
Deuteranopia (green-blind)
#475370
Tritanopia (blue-blind)
#84354C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7e3072;
/* rgb */ color: rgb(126, 48, 114);
/* oklch */ color: oklch(44.4% 0.136 334.1);
Tailwind
colors: {
  custom: {
    50: '#a66d9a',
    500: '#7e3072',
    950: '#000000',
  },
}
SCSS
$custom: #7e3072;
$custom-light: #a66d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3072",
  "rgb": {
    "r": 126,
    "g": 48,
    "b": 114
  },
  "hsl": {
    "h": 309.231,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44426,
    "c": 0.13596,
    "h": 334.1
  },
  "luminance": 0.07764
}

Semantic roles & 50–950 ramp

primary
#7E3072
secondary
#5FAB6A
accent
#D56753
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7E3072

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

Preview Lab → · Contrast checker → · Palette generator →

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