#7E1D73#7E1D73

#7E1D73 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.5% C 0.163 H 333.2°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#7E1D73
RGBrgb(126, 29, 115)
HSLhsl(307, 63%, 30%)
HSVhsv(307, 77%, 49%)
CMYKcmyk(0%, 77%, 8.7%, 50.6%)
CIE-LABlab(30.77, 50.21, -26.73)
CIE-LCHlch(30.77, 56.88, 331.97°)
OKLaboklab(42.47% 0.145 -0.0733)
OKLCHoklch(42.47% 0.163 333.2)
XYZxyz(12.1381, 6.5532, 16.8419)
Luminance0.0655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D73 #1D7E28
analogous
#581D7E #7E1D73 #7E1D42
triadic
#7E1D73 #737E1D #1D737E
tetradic
#7E1D73 #7E581D #1D7E28 #1D427E
square
#7E1D73 #7E581D #1D7E28 #1D427E
split-complementary
#7E1D73 #427E1D #1D7E58
monochromatic
#1B0618 #4C1246 #7E1D73 #B028A0 #D342C3

Accessibility & contrast

On white

9.09
#7E1D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7E1D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D73
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D73#FFFFFF#000000##FFFFFF
##7E1D731.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194075
Deuteranopia (green-blind)
#3E4D71
Tritanopia (blue-blind)
#842746
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e1d73;
/* rgb */ color: rgb(126, 29, 115);
/* oklch */ color: oklch(42.5% 0.163 333.2);
Tailwind
colors: {
  custom: {
    50: '#a7649b',
    500: '#7e1d73',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d73;
$custom-light: #a7649b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d73",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 115
  },
  "hsl": {
    "h": 306.804,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42468,
    "c": 0.16253,
    "h": 333.2
  },
  "luminance": 0.06552
}

Semantic roles & 50–950 ramp

primary
#7E1D73
secondary
#45B152
accent
#E65542
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E1D73

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

Preview Lab → · Contrast checker → · Palette generator →

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