#7B2C7D#7B2C7D

#7B2C7D is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.1% C 0.150 H 326.8°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#7B2C7D
RGBrgb(123, 44, 125)
HSLhsl(299, 48%, 33%)
HSVhsv(299, 65%, 49%)
CMYKcmyk(1.6%, 64.8%, 0%, 51%)
CIE-LABlab(32.91, 45.29, -29.69)
CIE-LCHlch(32.91, 54.16, 326.75°)
OKLaboklab(44.09% 0.1253 -0.0821)
OKLCHoklch(44.09% 0.15 326.8)
XYZxyz(12.7705, 7.4938, 20.1719)
Luminance0.0749 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2C7D #2E7D2C
analogous
#532C7D #7B2C7D #7D2C56
triadic
#7B2C7D #7D7B2C #2C7D7B
tetradic
#7B2C7D #7D532C #2E7D2C #2C567D
square
#7B2C7D #7D532C #2E7D2C #2C567D
split-complementary
#7B2C7D #567D2C #2C7D53
monochromatic
#220C22 #4E1C50 #7B2C7D #A83CAA #C35DC6

Accessibility & contrast

On white

8.40
#7B2C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7B2C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2C7D
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2C7D#FFFFFF#000000##FFFFFF
##7B2C7D1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20477F
Deuteranopia (green-blind)
#3E517B
Tritanopia (blue-blind)
#7E3750
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7b2c7d;
/* rgb */ color: rgb(123, 44, 125);
/* oklch */ color: oklch(44.1% 0.150 326.8);
Tailwind
colors: {
  custom: {
    50: '#a46ba3',
    500: '#7b2c7d',
    950: '#000000',
  },
}
SCSS
$custom: #7b2c7d;
$custom-light: #a46ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2c7d",
  "rgb": {
    "r": 123,
    "g": 44,
    "b": 125
  },
  "hsl": {
    "h": 298.519,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4409,
    "c": 0.14978,
    "h": 326.8
  },
  "luminance": 0.07493
}

Semantic roles & 50–950 ramp

primary
#7B2C7D
secondary
#5BAC59
accent
#D85054
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #7B2C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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