#7B2B72#7B2B72

#7B2B72 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.4% C 0.142 H 332.4°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#7B2B72
RGBrgb(123, 43, 114)
HSLhsl(307, 48%, 33%)
HSVhsv(307, 65%, 48%)
CMYKcmyk(0%, 65%, 7.3%, 51.8%)
CIE-LABlab(32.16, 43.75, -23.95)
CIE-LCHlch(32.16, 49.87, 331.30°)
OKLaboklab(43.36% 0.1255 -0.0655)
OKLCHoklch(43.36% 0.142 332.4)
XYZxyz(12.0695, 7.1545, 16.6616)
Luminance0.0715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2B72 #2B7B34
analogous
#5C2B7B #7B2B72 #7B2B4A
triadic
#7B2B72 #727B2B #2B727B
tetradic
#7B2B72 #7B5C2B #2B7B34 #2B4A7B
square
#7B2B72 #7B5C2B #2B7B34 #2B4A7B
split-complementary
#7B2B72 #4A7B2B #2B7B5C
monochromatic
#200B1E #4E1B48 #7B2B72 #A83B9C #C65BBA

Accessibility & contrast

On white

8.64
#7B2B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B2B72
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2B72#FFFFFF#000000##FFFFFF
##7B2B721.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284474
Deuteranopia (green-blind)
#425070
Tritanopia (blue-blind)
#80324A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7b2b72;
/* rgb */ color: rgb(123, 43, 114);
/* oklch */ color: oklch(43.4% 0.142 332.4);
Tailwind
colors: {
  custom: {
    50: '#a46a9b',
    500: '#7b2b72',
    950: '#000000',
  },
}
SCSS
$custom: #7b2b72;
$custom-light: #a46a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2b72",
  "rgb": {
    "r": 123,
    "g": 43,
    "b": 114
  },
  "hsl": {
    "h": 306.75,
    "s": 48.193,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43355,
    "c": 0.14161,
    "h": 332.4
  },
  "luminance": 0.07154
}

Semantic roles & 50–950 ramp

primary
#7B2B72
secondary
#56AB60
accent
#D85F50
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7B2B72

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

Preview Lab → · Contrast checker → · Palette generator →

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