#7C2B79#7C2B79

#7C2B79 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.9% C 0.148 H 329.3°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#7C2B79
RGBrgb(124, 43, 121)
HSLhsl(302, 49%, 33%)
HSVhsv(302, 65%, 49%)
CMYKcmyk(0%, 65.3%, 2.4%, 51.4%)
CIE-LABlab(32.69, 45.27, -27.52)
CIE-LCHlch(32.69, 52.97, 328.70°)
OKLaboklab(43.89% 0.1274 -0.0758)
OKLCHoklch(43.89% 0.148 329.3)
XYZxyz(12.6271, 7.3942, 18.8476)
Luminance0.0739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2B79 #2B7C2E
analogous
#562B7C #7C2B79 #7C2B51
triadic
#7C2B79 #797C2B #2B797C
tetradic
#7C2B79 #7C562B #2B7C2E #2B517C
square
#7C2B79 #7C562B #2B7C2E #2B517C
split-complementary
#7C2B79 #517C2B #2B7C56
monochromatic
#210B20 #4F1B4D #7C2B79 #A93BA5 #C65BC2

Accessibility & contrast

On white

8.47
#7C2B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C2B79
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2B79#FFFFFF#000000##FFFFFF
##7C2B791.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23467B
Deuteranopia (green-blind)
#405177
Tritanopia (blue-blind)
#80344E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7c2b79;
/* rgb */ color: rgb(124, 43, 121);
/* oklch */ color: oklch(43.9% 0.148 329.3);
Tailwind
colors: {
  custom: {
    50: '#a56ba0',
    500: '#7c2b79',
    950: '#000000',
  },
}
SCSS
$custom: #7c2b79;
$custom-light: #a56ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2b79",
  "rgb": {
    "r": 124,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 302.222,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43894,
    "c": 0.14826,
    "h": 329.3
  },
  "luminance": 0.07393
}

Semantic roles & 50–950 ramp

primary
#7C2B79
secondary
#57AC5A
accent
#D85550
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7C2B79

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

Preview Lab → · Contrast checker → · Palette generator →

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