#7D1A76#7D1A76

#7D1A76 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.167 H 331.3°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#7D1A76
RGBrgb(125, 26, 118)
HSLhsl(304, 66%, 30%)
HSVhsv(304, 79%, 49%)
CMYKcmyk(0%, 79.2%, 5.6%, 51%)
CIE-LABlab(30.42, 51.42, -29.19)
CIE-LCHlch(30.42, 59.13, 330.42°)
OKLaboklab(42.24% 0.1469 -0.0805)
OKLCHoklch(42.24% 0.167 331.3)
XYZxyz(12.0969, 6.4078, 17.7357)
Luminance0.0641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A76 #1A7D21
analogous
#521A7D #7D1A76 #7D1A45
triadic
#7D1A76 #767D1A #1A767D
tetradic
#7D1A76 #7D521A #1A7D21 #1A457D
square
#7D1A76 #7D521A #1A7D21 #1A457D
split-complementary
#7D1A76 #457D1A #1A7D52
monochromatic
#190518 #4A0F46 #7D1A76 #B025A6 #D63BCB

Accessibility & contrast

On white

9.20
#7D1A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7D1A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1A76
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A76#FFFFFF#000000##FFFFFF
##7D1A761.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103F78
Deuteranopia (green-blind)
#3A4C74
Tritanopia (blue-blind)
#822747
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d1a76;
/* rgb */ color: rgb(125, 26, 118);
/* oklch */ color: oklch(42.2% 0.167 331.3);
Tailwind
colors: {
  custom: {
    50: '#a6639e',
    500: '#7d1a76',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a76;
$custom-light: #a6639e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a76",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 118
  },
  "hsl": {
    "h": 304.242,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42238,
    "c": 0.16747,
    "h": 331.3
  },
  "luminance": 0.06407
}

Semantic roles & 50–950 ramp

primary
#7D1A76
secondary
#42B14A
accent
#E94B3F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1A76

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

Preview Lab → · Contrast checker → · Palette generator →

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