#7D2976#7D2976

#7D2976 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.7% C 0.149 H 331.3°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#7D2976
RGBrgb(125, 41, 118)
HSLhsl(305, 51%, 33%)
HSVhsv(305, 67%, 49%)
CMYKcmyk(0%, 67.2%, 5.6%, 51%)
CIE-LABlab(32.38, 45.87, -26.10)
CIE-LCHlch(32.38, 52.78, 330.36°)
OKLaboklab(43.65% 0.1308 -0.0717)
OKLCHoklch(43.65% 0.149 331.3)
XYZxyz(12.5204, 7.2548, 17.8769)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2976 #297D30
analogous
#5A297D #7D2976 #7D294C
triadic
#7D2976 #767D29 #29767D
tetradic
#7D2976 #7D5A29 #297D30 #294C7D
square
#7D2976 #7D5A29 #297D30 #294C7D
split-complementary
#7D2976 #4C7D29 #297D5A
monochromatic
#210B1F #4F1A4A #7D2976 #AB38A2 #C858BF

Accessibility & contrast

On white

8.57
#7D2976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7D2976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2976
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2976#FFFFFF#000000##FFFFFF
##7D29761.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244578
Deuteranopia (green-blind)
#415074
Tritanopia (blue-blind)
#82314C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d2976;
/* rgb */ color: rgb(125, 41, 118);
/* oklch */ color: oklch(43.7% 0.149 331.3);
Tailwind
colors: {
  custom: {
    50: '#a56a9e',
    500: '#7d2976',
    950: '#000000',
  },
}
SCSS
$custom: #7d2976;
$custom-light: #a56a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2976",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 118
  },
  "hsl": {
    "h": 305,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43651,
    "c": 0.14916,
    "h": 331.3
  },
  "luminance": 0.07254
}

Semantic roles & 50–950 ramp

primary
#7D2976
secondary
#54AE5C
accent
#DA594E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7D2976

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

Preview Lab → · Contrast checker → · Palette generator →

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