#7F2B73#7F2B73

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

Color values

HEX#7F2B73
RGBrgb(127, 43, 115)
HSLhsl(309, 49%, 33%)
HSVhsv(309, 66%, 50%)
CMYKcmyk(0%, 66.1%, 9.4%, 50.2%)
CIE-LABlab(32.87, 45.03, -23.41)
CIE-LCHlch(32.87, 50.76, 332.53°)
OKLaboklab(44.03% 0.1302 -0.0639)
OKLCHoklch(44.03% 0.145 333.9)
XYZxyz(12.7109, 7.4786, 16.9904)
Luminance0.0748 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2B73 #2B7F37
analogous
#612B7F #7F2B73 #7F2B49
triadic
#7F2B73 #737F2B #2B737F
tetradic
#7F2B73 #7F612B #2B7F37 #2B497F
square
#7F2B73 #7F612B #2B7F37 #2B497F
split-complementary
#7F2B73 #497F2B #2B7F61
monochromatic
#240C20 #511C4A #7F2B73 #AD3A9C #C85CB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F2B73#FFFFFF#000000##FFFFFF
##7F2B731.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)
#294575
Deuteranopia (green-blind)
#455271
Tritanopia (blue-blind)
#85314B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7f2b73;
/* rgb */ color: rgb(127, 43, 115);
/* oklch */ color: oklch(44.0% 0.145 333.9);
Tailwind
colors: {
  custom: {
    50: '#a76b9b',
    500: '#7f2b73',
    950: '#000000',
  },
}
SCSS
$custom: #7f2b73;
$custom-light: #a76b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2b73",
  "rgb": {
    "r": 127,
    "g": 43,
    "b": 115
  },
  "hsl": {
    "h": 308.571,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44025,
    "c": 0.14508,
    "h": 333.9
  },
  "luminance": 0.07478
}

Semantic roles & 50–950 ramp

primary
#7F2B73
secondary
#58AE64
accent
#D9634F
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7F2B73

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

Preview Lab → · Contrast checker → · Palette generator →

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