#7B2E72#7B2E72

#7B2E72 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.7% C 0.137 H 332.5°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#7B2E72
RGBrgb(123, 46, 114)
HSLhsl(307, 46%, 33%)
HSVhsv(307, 63%, 48%)
CMYKcmyk(0%, 62.6%, 7.3%, 51.8%)
CIE-LABlab(32.66, 42.36, -23.16)
CIE-LCHlch(32.66, 48.28, 331.33°)
OKLaboklab(43.72% 0.1215 -0.0633)
OKLCHoklch(43.72% 0.137 332.5)
XYZxyz(12.1826, 7.3807, 16.6993)
Luminance0.0738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2E72 #2E7B37
analogous
#5D2E7B #7B2E72 #7B2E4B
triadic
#7B2E72 #727B2E #2E727B
tetradic
#7B2E72 #7B5D2E #2E7B37 #2E4B7B
square
#7B2E72 #7B5D2E #2E7B37 #2E4B7B
split-complementary
#7B2E72 #4B7B2E #2E7B5D
monochromatic
#220D1F #4E1D49 #7B2E72 #A83F9B #C360B8

Accessibility & contrast

On white

8.48
#7B2E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7B2E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2E72
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2E72#FFFFFF#000000##FFFFFF
##7B2E721.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b2e72;
/* rgb */ color: rgb(123, 46, 114);
/* oklch */ color: oklch(43.7% 0.137 332.5);
Tailwind
colors: {
  custom: {
    50: '#a46c9b',
    500: '#7b2e72',
    950: '#000000',
  },
}
SCSS
$custom: #7b2e72;
$custom-light: #a46c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2e72",
  "rgb": {
    "r": 123,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 307.013,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43722,
    "c": 0.13702,
    "h": 332.5
  },
  "luminance": 0.0738
}

Semantic roles & 50–950 ramp

primary
#7B2E72
secondary
#5BAA64
accent
#D56253
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7B2E72

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

Preview Lab → · Contrast checker → · Palette generator →

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