#7D2980#7D2980

#7D2980 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.2% C 0.158 H 326.4°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#7D2980
RGBrgb(125, 41, 128)
HSLhsl(298, 51%, 33%)
HSVhsv(298, 68%, 50%)
CMYKcmyk(2.3%, 68%, 0%, 49.8%)
CIE-LABlab(32.93, 47.67, -31.51)
CIE-LCHlch(32.93, 57.14, 326.54°)
OKLaboklab(44.23% 0.1315 -0.0873)
OKLCHoklch(44.23% 0.158 326.4)
XYZxyz(13.1464, 7.5052, 21.1741)
Luminance0.0750 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2980 #2C8029
analogous
#512980 #7D2980 #802957
triadic
#7D2980 #807D29 #29807D
tetradic
#7D2980 #805129 #2C8029 #295780
square
#7D2980 #805129 #2C8029 #295780
split-complementary
#7D2980 #578029 #298051
monochromatic
#220B23 #501A52 #7D2980 #AA38AE #C659CA

Accessibility & contrast

On white

8.40
#7D2980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7D2980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2980
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2980#FFFFFF#000000##FFFFFF
##7D29801.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4783
Deuteranopia (green-blind)
#3C517E
Tritanopia (blue-blind)
#803651
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d2980;
/* rgb */ color: rgb(125, 41, 128);
/* oklch */ color: oklch(44.2% 0.158 326.4);
Tailwind
colors: {
  custom: {
    50: '#a56aa5',
    500: '#7d2980',
    950: '#000000',
  },
}
SCSS
$custom: #7d2980;
$custom-light: #a56aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2980",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 128
  },
  "hsl": {
    "h": 297.931,
    "s": 51.479,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44228,
    "c": 0.1578,
    "h": 326.4
  },
  "luminance": 0.07504
}

Semantic roles & 50–950 ramp

primary
#7D2980
secondary
#59AF55
accent
#DB4D52
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D2980

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

Preview Lab → · Contrast checker → · Palette generator →

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