#7D1A77#7D1A77

#7D1A77 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.168 H 330.8°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#7D1A77
RGBrgb(125, 26, 119)
HSLhsl(304, 66%, 30%)
HSVhsv(304, 79%, 49%)
CMYKcmyk(0%, 79.2%, 4.8%, 51%)
CIE-LABlab(30.48, 51.59, -29.74)
CIE-LCHlch(30.48, 59.55, 330.04°)
OKLaboklab(42.3% 0.1469 -0.082)
OKLCHoklch(42.3% 0.168 330.8)
XYZxyz(12.1566, 6.4317, 18.0504)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A77 #1A7D20
analogous
#511A7D #7D1A77 #7D1A46
triadic
#7D1A77 #777D1A #1A777D
tetradic
#7D1A77 #7D511A #1A7D20 #1A467D
square
#7D1A77 #7D511A #1A7D20 #1A467D
split-complementary
#7D1A77 #467D1A #1A7D51
monochromatic
#190518 #4A0F47 #7D1A77 #B025A7 #D63BCD

Accessibility & contrast

On white

9.19
#7D1A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7D1A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1A77
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A77#FFFFFF#000000##FFFFFF
##7D1A771.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3F79
Deuteranopia (green-blind)
#3A4C75
Tritanopia (blue-blind)
#822848
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d1a77;
/* rgb */ color: rgb(125, 26, 119);
/* oklch */ color: oklch(42.3% 0.168 330.8);
Tailwind
colors: {
  custom: {
    50: '#a6639e',
    500: '#7d1a77',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a77;
$custom-light: #a6639e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a77",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 119
  },
  "hsl": {
    "h": 303.636,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42298,
    "c": 0.16824,
    "h": 330.8
  },
  "luminance": 0.06431
}

Semantic roles & 50–950 ramp

primary
#7D1A77
secondary
#42B148
accent
#E94A3F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1A77

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

Preview Lab → · Contrast checker → · Palette generator →

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