#7D0F76#7D0F76

#7D0F76 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.177 H 331.3°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#7D0F76
RGBrgb(125, 15, 118)
HSLhsl(304, 79%, 27%)
HSVhsv(304, 88%, 49%)
CMYKcmyk(0%, 88%, 5.6%, 51%)
CIE-LABlab(29.44, 54.26, -30.75)
CIE-LCHlch(29.44, 62.37, 330.46°)
OKLaboklab(41.54% 0.1551 -0.0849)
OKLCHoklch(41.54% 0.177 331.3)
XYZxyz(11.8983, 6.0106, 17.6695)
Luminance0.0601 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D0F76 #0F7D16
analogous
#4D0F7D #7D0F76 #7D0F3F
triadic
#7D0F76 #767D0F #0F767D
tetradic
#7D0F76 #7D4D0F #0F7D16 #0F3F7D
square
#7D0F76 #7D4D0F #0F7D16 #0F3F7D
split-complementary
#7D0F76 #3F7D0F #0F7D4D
monochromatic
#1B031A #460842 #7D0F76 #B416AA #E422D8

Accessibility & contrast

On white

9.54
#7D0F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7D0F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D0F76
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D0F76#FFFFFF#000000##FFFFFF
##7D0F761.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C79
Deuteranopia (green-blind)
#374A74
Tritanopia (blue-blind)
#822145
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d0f76;
/* rgb */ color: rgb(125, 15, 118);
/* oklch */ color: oklch(41.5% 0.177 331.3);
Tailwind
colors: {
  custom: {
    50: '#a6609e',
    500: '#7d0f76',
    950: '#000000',
  },
}
SCSS
$custom: #7d0f76;
$custom-light: #a6609e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d0f76",
  "rgb": {
    "r": 125,
    "g": 15,
    "b": 118
  },
  "hsl": {
    "h": 303.818,
    "s": 78.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.41541,
    "c": 0.17681,
    "h": 331.3
  },
  "luminance": 0.0601
}

Semantic roles & 50–950 ramp

primary
#7D0F76
secondary
#34B43C
accent
#F53F33
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7D0F76

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

Preview Lab → · Contrast checker → · Palette generator →

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