#7B2B79#7B2B79

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

Color values

HEX#7B2B79
RGBrgb(123, 43, 121)
HSLhsl(302, 48%, 33%)
HSVhsv(302, 65%, 48%)
CMYKcmyk(0%, 65%, 1.6%, 51.8%)
CIE-LABlab(32.52, 45.00, -27.79)
CIE-LCHlch(32.52, 52.89, 328.31°)
OKLaboklab(43.74% 0.1262 -0.0766)
OKLCHoklch(43.74% 0.148 328.8)
XYZxyz(12.4833, 7.3200, 18.8409)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2B79 #2B7B2D
analogous
#552B7B #7B2B79 #7B2B51
triadic
#7B2B79 #797B2B #2B797B
tetradic
#7B2B79 #7B552B #2B7B2D #2B517B
square
#7B2B79 #7B552B #2B7B2D #2B517B
split-complementary
#7B2B79 #517B2B #2B7B55
monochromatic
#200B20 #4E1B4C #7B2B79 #A83BA6 #C65BC3

Accessibility & contrast

On white

8.52
#7B2B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7B2B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2B79
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2B79#FFFFFF#000000##FFFFFF
##7B2B791.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23467B
Deuteranopia (green-blind)
#3F5077
Tritanopia (blue-blind)
#7F354E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7b2b79;
/* rgb */ color: rgb(123, 43, 121);
/* oklch */ color: oklch(43.7% 0.148 328.8);
Tailwind
colors: {
  custom: {
    50: '#a46ba0',
    500: '#7b2b79',
    950: '#000000',
  },
}
SCSS
$custom: #7b2b79;
$custom-light: #a46ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2b79",
  "rgb": {
    "r": 123,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 301.5,
    "s": 48.193,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43743,
    "c": 0.14766,
    "h": 328.8
  },
  "luminance": 0.07319
}

Semantic roles & 50–950 ramp

primary
#7B2B79
secondary
#56AB58
accent
#D85350
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7B2B79

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

Preview Lab → · Contrast checker → · Palette generator →

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