#7B2D72#7B2D72

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

Color values

HEX#7B2D72
RGBrgb(123, 45, 114)
HSLhsl(307, 46%, 33%)
HSVhsv(307, 63%, 48%)
CMYKcmyk(0%, 63.4%, 7.3%, 51.8%)
CIE-LABlab(32.49, 42.83, -23.43)
CIE-LCHlch(32.49, 48.82, 331.32°)
OKLaboklab(43.6% 0.1229 -0.0641)
OKLCHoklch(43.6% 0.139 332.5)
XYZxyz(12.1440, 7.3035, 16.6864)
Luminance0.0730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2D72 #2D7B36
analogous
#5D2D7B #7B2D72 #7B2D4B
triadic
#7B2D72 #727B2D #2D727B
tetradic
#7B2D72 #7B5D2D #2D7B36 #2D4B7B
square
#7B2D72 #7B5D2D #2D7B36 #2D4B7B
split-complementary
#7B2D72 #4B7B2D #2D7B5D
monochromatic
#210C1F #4E1D48 #7B2D72 #A83D9C #C45EB8

Accessibility & contrast

On white

8.53
#7B2D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B2D72
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2D72#FFFFFF#000000##FFFFFF
##7B2D721.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4574
Deuteranopia (green-blind)
#445070
Tritanopia (blue-blind)
#80344B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7b2d72;
/* rgb */ color: rgb(123, 45, 114);
/* oklch */ color: oklch(43.6% 0.139 332.5);
Tailwind
colors: {
  custom: {
    50: '#a46b9b',
    500: '#7b2d72',
    950: '#000000',
  },
}
SCSS
$custom: #7b2d72;
$custom-light: #a46b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2d72",
  "rgb": {
    "r": 123,
    "g": 45,
    "b": 114
  },
  "hsl": {
    "h": 306.923,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43597,
    "c": 0.13857,
    "h": 332.5
  },
  "luminance": 0.07303
}

Semantic roles & 50–950 ramp

primary
#7B2D72
secondary
#59AB63
accent
#D66152
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7B2D72

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

Preview Lab → · Contrast checker → · Palette generator →

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