#7D2279#7D2279

#7D2279 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.1% C 0.161 H 329.8°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#7D2279
RGBrgb(125, 34, 121)
HSLhsl(303, 57%, 31%)
HSVhsv(303, 73%, 49%)
CMYKcmyk(0%, 72.8%, 3.2%, 51%)
CIE-LABlab(31.54, 49.20, -29.31)
CIE-LCHlch(31.54, 57.27, 329.22°)
OKLaboklab(43.1% 0.1391 -0.0809)
OKLCHoklch(43.1% 0.161 329.8)
XYZxyz(12.4806, 6.8854, 18.7571)
Luminance0.0688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2279 #227D26
analogous
#53227D #7D2279 #7D224B
triadic
#7D2279 #797D22 #22797D
tetradic
#7D2279 #7D5322 #227D26 #224B7D
square
#7D2279 #7D5322 #227D26 #224B7D
split-complementary
#7D2279 #4B7D22 #227D53
monochromatic
#1D081C #4D154A #7D2279 #AD2FA8 #CE4BC8

Accessibility & contrast

On white

8.83
#7D2279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7D2279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2279
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2279#FFFFFF#000000##FFFFFF
##7D22791.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18427B
Deuteranopia (green-blind)
#3C4F77
Tritanopia (blue-blind)
#822E4B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d2279;
/* rgb */ color: rgb(125, 34, 121);
/* oklch */ color: oklch(43.1% 0.161 329.8);
Tailwind
colors: {
  custom: {
    50: '#a667a0',
    500: '#7d2279',
    950: '#000000',
  },
}
SCSS
$custom: #7d2279;
$custom-light: #a667a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2279",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 302.637,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43101,
    "c": 0.1609,
    "h": 329.8
  },
  "luminance": 0.06885
}

Semantic roles & 50–950 ramp

primary
#7D2279
secondary
#4BB050
accent
#E04E47
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D2279

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

Preview Lab → · Contrast checker → · Palette generator →

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