#7B2A72#7B2A72

#7B2A72 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.2% C 0.143 H 332.4°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#7B2A72
RGBrgb(123, 42, 114)
HSLhsl(307, 49%, 32%)
HSVhsv(307, 66%, 48%)
CMYKcmyk(0%, 65.9%, 7.3%, 51.8%)
CIE-LABlab(31.99, 44.19, -24.20)
CIE-LCHlch(31.99, 50.39, 331.30°)
OKLaboklab(43.24% 0.1268 -0.0663)
OKLCHoklch(43.24% 0.143 332.4)
XYZxyz(12.0336, 7.0827, 16.6496)
Luminance0.0708 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2A72 #2A7B33
analogous
#5C2A7B #7B2A72 #7B2A49
triadic
#7B2A72 #727B2A #2A727B
tetradic
#7B2A72 #7B5C2A #2A7B33 #2A497B
square
#7B2A72 #7B5C2A #2A7B33 #2A497B
split-complementary
#7B2A72 #497B2A #2A7B5C
monochromatic
#200B1D #4D1A48 #7B2A72 #A93A9C #C659BA

Accessibility & contrast

On white

8.69
#7B2A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B2A72
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2A72#FFFFFF#000000##FFFFFF
##7B2A721.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274474
Deuteranopia (green-blind)
#424F70
Tritanopia (blue-blind)
#80314A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7b2a72;
/* rgb */ color: rgb(123, 42, 114);
/* oklch */ color: oklch(43.2% 0.143 332.4);
Tailwind
colors: {
  custom: {
    50: '#a46a9b',
    500: '#7b2a72',
    950: '#000000',
  },
}
SCSS
$custom: #7b2a72;
$custom-light: #a46a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2a72",
  "rgb": {
    "r": 123,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 306.667,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43237,
    "c": 0.14309,
    "h": 332.4
  },
  "luminance": 0.07082
}

Semantic roles & 50–950 ramp

primary
#7B2A72
secondary
#55AC5F
accent
#D95E4F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7B2A72

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

Preview Lab → · Contrast checker → · Palette generator →

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