#7B2976#7B2976

#7B2976 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.3% C 0.148 H 330.3°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#7B2976
RGBrgb(123, 41, 118)
HSLhsl(304, 50%, 32%)
HSVhsv(304, 67%, 48%)
CMYKcmyk(0%, 66.7%, 4.1%, 51.8%)
CIE-LABlab(32.05, 45.34, -26.65)
CIE-LCHlch(32.05, 52.59, 329.55°)
OKLaboklab(43.34% 0.1285 -0.0733)
OKLCHoklch(43.34% 0.148 330.3)
XYZxyz(12.2313, 7.1057, 17.8634)
Luminance0.0711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2976 #297B2E
analogous
#57297B #7B2976 #7B294D
triadic
#7B2976 #767B29 #29767B
tetradic
#7B2976 #7B5729 #297B2E #294D7B
square
#7B2976 #7B5729 #297B2E #294D7B
split-complementary
#7B2976 #4D7B29 #297B57
monochromatic
#1F0A1E #4D1A4A #7B2976 #A938A2 #C757C0

Accessibility & contrast

On white

8.67
#7B2976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7B2976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2976
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2976#FFFFFF#000000##FFFFFF
##7B29761.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224478
Deuteranopia (green-blind)
#404F74
Tritanopia (blue-blind)
#80324C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7b2976;
/* rgb */ color: rgb(123, 41, 118);
/* oklch */ color: oklch(43.3% 0.148 330.3);
Tailwind
colors: {
  custom: {
    50: '#a4699e',
    500: '#7b2976',
    950: '#000000',
  },
}
SCSS
$custom: #7b2976;
$custom-light: #a4699e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2976",
  "rgb": {
    "r": 123,
    "g": 41,
    "b": 118
  },
  "hsl": {
    "h": 303.659,
    "s": 50,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43343,
    "c": 0.14794,
    "h": 330.3
  },
  "luminance": 0.07105
}

Semantic roles & 50–950 ramp

primary
#7B2976
secondary
#53AC59
accent
#DA574E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7B2976

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

Preview Lab → · Contrast checker → · Palette generator →

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