#7D1979#7D1979

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

Color values

HEX#7D1979
RGBrgb(125, 25, 121)
HSLhsl(302, 67%, 29%)
HSVhsv(302, 80%, 49%)
CMYKcmyk(0%, 80%, 3.2%, 51%)
CIE-LABlab(30.49, 52.22, -30.98)
CIE-LCHlch(30.49, 60.72, 329.32°)
OKLaboklab(42.35% 0.1478 -0.0857)
OKLCHoklch(42.35% 0.171 329.9)
XYZxyz(12.2562, 6.4367, 18.6823)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1979 #197D1D
analogous
#4F197D #7D1979 #7D1947
triadic
#7D1979 #797D19 #19797D
tetradic
#7D1979 #7D4F19 #197D1D #19477D
square
#7D1979 #7D4F19 #197D1D #19477D
split-complementary
#7D1979 #477D19 #197D4F
monochromatic
#1A0519 #4A0F48 #7D1979 #B023AA #D739D1

Accessibility & contrast

On white

9.18
#7D1979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1979
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1979#FFFFFF#000000##FFFFFF
##7D19791.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083F7C
Deuteranopia (green-blind)
#384C77
Tritanopia (blue-blind)
#822849
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d1979;
/* rgb */ color: rgb(125, 25, 121);
/* oklch */ color: oklch(42.3% 0.171 329.9);
Tailwind
colors: {
  custom: {
    50: '#a663a0',
    500: '#7d1979',
    950: '#000000',
  },
}
SCSS
$custom: #7d1979;
$custom-light: #a663a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1979",
  "rgb": {
    "r": 125,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 302.4,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.42345,
    "c": 0.17079,
    "h": 329.9
  },
  "luminance": 0.06436
}

Semantic roles & 50–950 ramp

primary
#7D1979
secondary
#40B145
accent
#EA453E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7D1979

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

Preview Lab → · Contrast checker → · Palette generator →

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