#7B2A73#7B2A73

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

Color values

HEX#7B2A73
RGBrgb(123, 42, 115)
HSLhsl(306, 49%, 32%)
HSVhsv(306, 66%, 48%)
CMYKcmyk(0%, 65.9%, 6.5%, 51.8%)
CIE-LABlab(32.05, 44.37, -24.75)
CIE-LCHlch(32.05, 50.81, 330.84°)
OKLaboklab(43.29% 0.1269 -0.0678)
OKLCHoklch(43.29% 0.144 331.9)
XYZxyz(12.0908, 7.1056, 16.9510)
Luminance0.0711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2A73 #2A7B32
analogous
#5B2A7B #7B2A73 #7B2A4B
triadic
#7B2A73 #737B2A #2A737B
tetradic
#7B2A73 #7B5B2A #2A7B32 #2A4B7B
square
#7B2A73 #7B5B2A #2A7B32 #2A4B7B
split-complementary
#7B2A73 #4B7B2A #2A7B5B
monochromatic
#200B1E #4D1A48 #7B2A73 #A93A9E #C659BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B2A73#FFFFFF#000000##FFFFFF
##7B2A731.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)
#264475
Deuteranopia (green-blind)
#414F71
Tritanopia (blue-blind)
#80324A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7b2a73;
/* rgb */ color: rgb(123, 42, 115);
/* oklch */ color: oklch(43.3% 0.144 331.9);
Tailwind
colors: {
  custom: {
    50: '#a46a9b',
    500: '#7b2a73',
    950: '#000000',
  },
}
SCSS
$custom: #7b2a73;
$custom-light: #a46a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2a73",
  "rgb": {
    "r": 123,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 305.926,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43292,
    "c": 0.14393,
    "h": 331.9
  },
  "luminance": 0.07105
}

Semantic roles & 50–950 ramp

primary
#7B2A73
secondary
#55AC5D
accent
#D95D4F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7B2A73

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

Preview Lab → · Contrast checker → · Palette generator →

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