#7F2B79#7F2B79

#7F2B79 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.4% C 0.150 H 330.7°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#7F2B79
RGBrgb(127, 43, 121)
HSLhsl(304, 49%, 33%)
HSVhsv(304, 66%, 50%)
CMYKcmyk(0%, 66.1%, 4.7%, 50.2%)
CIE-LABlab(33.18, 46.07, -26.71)
CIE-LCHlch(33.18, 53.25, 329.90°)
OKLaboklab(44.35% 0.1309 -0.0734)
OKLCHoklch(44.35% 0.15 330.7)
XYZxyz(13.0674, 7.6212, 18.8682)
Luminance0.0762 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2B79 #2B7F31
analogous
#5B2B7F #7F2B79 #7F2B4F
triadic
#7F2B79 #797F2B #2B797F
tetradic
#7F2B79 #7F5B2B #2B7F31 #2B4F7F
square
#7F2B79 #7F5B2B #2B7F31 #2B4F7F
split-complementary
#7F2B79 #4F7F2B #2B7F5B
monochromatic
#240C22 #511C4D #7F2B79 #AD3AA5 #C85CC0

Accessibility & contrast

On white

8.32
#7F2B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7F2B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2B79
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2B79#FFFFFF#000000##FFFFFF
##7F2B791.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25477B
Deuteranopia (green-blind)
#425277
Tritanopia (blue-blind)
#84344E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7f2b79;
/* rgb */ color: rgb(127, 43, 121);
/* oklch */ color: oklch(44.4% 0.150 330.7);
Tailwind
colors: {
  custom: {
    50: '#a76ba0',
    500: '#7f2b79',
    950: '#000000',
  },
}
SCSS
$custom: #7f2b79;
$custom-light: #a76ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2b79",
  "rgb": {
    "r": 127,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 304.286,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4435,
    "c": 0.15009,
    "h": 330.7
  },
  "luminance": 0.0762
}

Semantic roles & 50–950 ramp

primary
#7F2B79
secondary
#58AE5E
accent
#D9594F
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7F2B79

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

Preview Lab → · Contrast checker → · Palette generator →

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