#7B2F73#7B2F73

#7B2F73 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 43.9% C 0.136 H 331.9°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#7B2F73
RGBrgb(123, 47, 115)
HSLhsl(306, 45%, 33%)
HSVhsv(306, 62%, 48%)
CMYKcmyk(0%, 61.8%, 6.5%, 51.8%)
CIE-LABlab(32.88, 42.07, -23.45)
CIE-LCHlch(32.88, 48.16, 330.87°)
OKLaboklab(43.9% 0.1203 -0.0641)
OKLCHoklch(43.9% 0.136 331.9)
XYZxyz(12.2794, 7.4827, 17.0139)
Luminance0.0748 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2F73 #2F7B37
analogous
#5D2F7B #7B2F73 #7B2F4D
triadic
#7B2F73 #737B2F #2F737B
tetradic
#7B2F73 #7B5D2F #2F7B37 #2F4D7B
square
#7B2F73 #7B5D2F #2F7B37 #2F4D7B
split-complementary
#7B2F73 #4D7B2F #2F7B5D
monochromatic
#220D20 #4F1E4A #7B2F73 #A7409C #C362B9

Accessibility & contrast

On white

8.41
#7B2F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B2F73
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2F73#FFFFFF#000000##FFFFFF
##7B2F731.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4675
Deuteranopia (green-blind)
#445171
Tritanopia (blue-blind)
#80354C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7b2f73;
/* rgb */ color: rgb(123, 47, 115);
/* oklch */ color: oklch(43.9% 0.136 331.9);
Tailwind
colors: {
  custom: {
    50: '#a46d9b',
    500: '#7b2f73',
    950: '#000000',
  },
}
SCSS
$custom: #7b2f73;
$custom-light: #a46d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2f73",
  "rgb": {
    "r": 123,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 306.316,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43901,
    "c": 0.13632,
    "h": 331.9
  },
  "luminance": 0.07482
}

Semantic roles & 50–950 ramp

primary
#7B2F73
secondary
#5CAA64
accent
#D46153
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7B2F73

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

Preview Lab → · Contrast checker → · Palette generator →

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