#7D1E76#7D1E76

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

Color values

HEX#7D1E76
RGBrgb(125, 30, 118)
HSLhsl(304, 61%, 30%)
HSVhsv(304, 76%, 49%)
CMYKcmyk(0%, 76%, 5.6%, 51%)
CIE-LABlab(30.87, 50.12, -28.48)
CIE-LCHlch(30.87, 57.65, 330.40°)
OKLaboklab(42.56% 0.1431 -0.0784)
OKLCHoklch(42.56% 0.163 331.3)
XYZxyz(12.1917, 6.5975, 17.7674)
Luminance0.0660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E76 #1E7D25
analogous
#541E7D #7D1E76 #7D1E46
triadic
#7D1E76 #767D1E #1E767D
tetradic
#7D1E76 #7D541E #1E7D25 #1E467D
square
#7D1E76 #7D541E #1E7D25 #1E467D
split-complementary
#7D1E76 #467D1E #1E7D54
monochromatic
#1A0619 #4C1247 #7D1E76 #AE2AA5 #D243C7

Accessibility & contrast

On white

9.05
#7D1E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7D1E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1E76
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E76#FFFFFF#000000##FFFFFF
##7D1E761.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164078
Deuteranopia (green-blind)
#3C4D74
Tritanopia (blue-blind)
#822A48
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d1e76;
/* rgb */ color: rgb(125, 30, 118);
/* oklch */ color: oklch(42.6% 0.163 331.3);
Tailwind
colors: {
  custom: {
    50: '#a6659e',
    500: '#7d1e76',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e76;
$custom-light: #a6659e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e76",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 118
  },
  "hsl": {
    "h": 304.421,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42563,
    "c": 0.16318,
    "h": 331.3
  },
  "luminance": 0.06597
}

Semantic roles & 50–950 ramp

primary
#7D1E76
secondary
#46B04E
accent
#E44F43
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1E76

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

Preview Lab → · Contrast checker → · Palette generator →

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