#7B2A76#7B2A76

#7B2A76 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.5% C 0.146 H 330.3°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#7B2A76
RGBrgb(123, 42, 118)
HSLhsl(304, 49%, 32%)
HSVhsv(304, 66%, 48%)
CMYKcmyk(0%, 65.9%, 4.1%, 51.8%)
CIE-LABlab(32.20, 44.90, -26.40)
CIE-LCHlch(32.20, 52.09, 329.54°)
OKLaboklab(43.46% 0.1272 -0.0726)
OKLCHoklch(43.46% 0.146 330.3)
XYZxyz(12.2663, 7.1758, 17.8750)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2A76 #2A7B2F
analogous
#582A7B #7B2A76 #7B2A4D
triadic
#7B2A76 #767B2A #2A767B
tetradic
#7B2A76 #7B582A #2A7B2F #2A4D7B
square
#7B2A76 #7B582A #2A7B2F #2A4D7B
split-complementary
#7B2A76 #4D7B2A #2A7B58
monochromatic
#200B1E #4D1A4A #7B2A76 #A93AA2 #C659C0

Accessibility & contrast

On white

8.62
#7B2A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7B2A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2A76
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2A76#FFFFFF#000000##FFFFFF
##7B2A761.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b2a76;
/* rgb */ color: rgb(123, 42, 118);
/* oklch */ color: oklch(43.5% 0.146 330.3);
Tailwind
colors: {
  custom: {
    50: '#a46a9e',
    500: '#7b2a76',
    950: '#000000',
  },
}
SCSS
$custom: #7b2a76;
$custom-light: #a46a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2a76",
  "rgb": {
    "r": 123,
    "g": 42,
    "b": 118
  },
  "hsl": {
    "h": 303.704,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43458,
    "c": 0.14649,
    "h": 330.3
  },
  "luminance": 0.07175
}

Semantic roles & 50–950 ramp

primary
#7B2A76
secondary
#55AC5A
accent
#D9584F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7B2A76

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

Preview Lab → · Contrast checker → · Palette generator →

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