#7B2076#7B2076

#7B2076 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.4% C 0.160 H 330.3°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#7B2076
RGBrgb(123, 32, 118)
HSLhsl(303, 59%, 30%)
HSVhsv(303, 74%, 48%)
CMYKcmyk(0%, 74%, 4.1%, 51.8%)
CIE-LABlab(30.77, 48.94, -28.67)
CIE-LCHlch(30.77, 56.72, 329.64°)
OKLaboklab(42.42% 0.1388 -0.079)
OKLCHoklch(42.42% 0.16 330.3)
XYZxyz(11.9549, 6.5529, 17.7712)
Luminance0.0655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2076 #207B25
analogous
#53207B #7B2076 #7B2048
triadic
#7B2076 #767B20 #20767B
tetradic
#7B2076 #7B5320 #207B25 #20487B
square
#7B2076 #7B5320 #207B25 #20487B
split-complementary
#7B2076 #487B20 #207B53
monochromatic
#1A0719 #4A1347 #7B2076 #AC2DA5 #CF46C7

Accessibility & contrast

On white

9.09
#7B2076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7B2076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2076
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2076#FFFFFF#000000##FFFFFF
##7B20761.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164078
Deuteranopia (green-blind)
#3B4D74
Tritanopia (blue-blind)
#802B49
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7b2076;
/* rgb */ color: rgb(123, 32, 118);
/* oklch */ color: oklch(42.4% 0.160 330.3);
Tailwind
colors: {
  custom: {
    50: '#a4659e',
    500: '#7b2076',
    950: '#000000',
  },
}
SCSS
$custom: #7b2076;
$custom-light: #a4659e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2076",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 118
  },
  "hsl": {
    "h": 303.297,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42419,
    "c": 0.15977,
    "h": 330.3
  },
  "luminance": 0.06552
}

Semantic roles & 50–950 ramp

primary
#7B2076
secondary
#49AE4E
accent
#E24E46
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B2076

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

Preview Lab → · Contrast checker → · Palette generator →

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