#7D2079#7D2079

#7D2079 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.163 H 329.8°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#7D2079
RGBrgb(125, 32, 121)
HSLhsl(303, 59%, 31%)
HSVhsv(303, 74%, 49%)
CMYKcmyk(0%, 74.4%, 3.2%, 51%)
CIE-LABlab(31.29, 49.93, -29.72)
CIE-LCHlch(31.29, 58.11, 329.24°)
OKLaboklab(42.92% 0.1412 -0.082)
OKLCHoklch(42.92% 0.163 329.8)
XYZxyz(12.4251, 6.7744, 18.7386)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2079 #207D24
analogous
#52207D #7D2079 #7D204A
triadic
#7D2079 #797D20 #20797D
tetradic
#7D2079 #7D5220 #207D24 #204A7D
square
#7D2079 #7D5220 #207D24 #204A7D
split-complementary
#7D2079 #4A7D20 #207D52
monochromatic
#1C071B #4C144A #7D2079 #AE2CA8 #D047CA

Accessibility & contrast

On white

8.92
#7D2079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7D2079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2079
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2079#FFFFFF#000000##FFFFFF
##7D20791.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15427B
Deuteranopia (green-blind)
#3B4E77
Tritanopia (blue-blind)
#822C4A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d2079;
/* rgb */ color: rgb(125, 32, 121);
/* oklch */ color: oklch(42.9% 0.163 329.8);
Tailwind
colors: {
  custom: {
    50: '#a666a0',
    500: '#7d2079',
    950: '#000000',
  },
}
SCSS
$custom: #7d2079;
$custom-light: #a666a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2079",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 302.581,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42916,
    "c": 0.16329,
    "h": 329.8
  },
  "luminance": 0.06773
}

Semantic roles & 50–950 ramp

primary
#7D2079
secondary
#49B04D
accent
#E24C45
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7D2079

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

Preview Lab → · Contrast checker → · Palette generator →

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