#7B2D73#7B2D73

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

Color values

HEX#7B2D73
RGBrgb(123, 45, 115)
HSLhsl(306, 46%, 33%)
HSVhsv(306, 63%, 48%)
CMYKcmyk(0%, 63.4%, 6.5%, 51.8%)
CIE-LABlab(32.54, 43.01, -23.98)
CIE-LCHlch(32.54, 49.24, 330.86°)
OKLaboklab(43.65% 0.123 -0.0657)
OKLCHoklch(43.65% 0.139 331.9)
XYZxyz(12.2013, 7.3264, 16.9878)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2D73 #2D7B35
analogous
#5C2D7B #7B2D73 #7B2D4C
triadic
#7B2D73 #737B2D #2D737B
tetradic
#7B2D73 #7B5C2D #2D7B35 #2D4C7B
square
#7B2D73 #7B5C2D #2D7B35 #2D4C7B
split-complementary
#7B2D73 #4C7B2D #2D7B5C
monochromatic
#210C1F #4E1D49 #7B2D73 #A83D9D #C45EBA

Accessibility & contrast

On white

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

On black

2.47
#7B2D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7B2D73#FFFFFF#000000##FFFFFF
##7B2D731.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4575
Deuteranopia (green-blind)
#435171
Tritanopia (blue-blind)
#80344B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7b2d73;
/* rgb */ color: rgb(123, 45, 115);
/* oklch */ color: oklch(43.7% 0.139 331.9);
Tailwind
colors: {
  custom: {
    50: '#a46b9b',
    500: '#7b2d73',
    950: '#000000',
  },
}
SCSS
$custom: #7b2d73;
$custom-light: #a46b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2d73",
  "rgb": {
    "r": 123,
    "g": 45,
    "b": 115
  },
  "hsl": {
    "h": 306.154,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43651,
    "c": 0.13943,
    "h": 331.9
  },
  "luminance": 0.07326
}

Semantic roles & 50–950 ramp

primary
#7B2D73
secondary
#59AB62
accent
#D65F52
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7B2D73

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

Preview Lab → · Contrast checker → · Palette generator →

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