#7C2D79#7C2D79

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

Color values

HEX#7C2D79
RGBrgb(124, 45, 121)
HSLhsl(302, 47%, 33%)
HSVhsv(302, 64%, 49%)
CMYKcmyk(0%, 63.7%, 2.4%, 51.4%)
CIE-LABlab(33.01, 44.37, -27.01)
CIE-LCHlch(33.01, 51.94, 328.67°)
OKLaboklab(44.13% 0.1249 -0.0743)
OKLCHoklch(44.13% 0.145 329.2)
XYZxyz(12.7016, 7.5432, 18.8724)
Luminance0.0754 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2D79 #2D7C30
analogous
#572D7C #7C2D79 #7C2D51
triadic
#7C2D79 #797C2D #2D797C
tetradic
#7C2D79 #7C572D #2D7C30 #2D517C
square
#7C2D79 #7C572D #2D7C30 #2D517C
split-complementary
#7C2D79 #517C2D #2D7C57
monochromatic
#220C21 #4F1D4D #7C2D79 #A93DA5 #C55FC1

Accessibility & contrast

On white

8.37
#7C2D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7C2D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2D79
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2D79#FFFFFF#000000##FFFFFF
##7C2D791.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26477B
Deuteranopia (green-blind)
#415177
Tritanopia (blue-blind)
#80364F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7c2d79;
/* rgb */ color: rgb(124, 45, 121);
/* oklch */ color: oklch(44.1% 0.145 329.2);
Tailwind
colors: {
  custom: {
    50: '#a46ca0',
    500: '#7c2d79',
    950: '#000000',
  },
}
SCSS
$custom: #7c2d79;
$custom-light: #a46ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2d79",
  "rgb": {
    "r": 124,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 302.278,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4413,
    "c": 0.14531,
    "h": 329.2
  },
  "luminance": 0.07542
}

Semantic roles & 50–950 ramp

primary
#7C2D79
secondary
#5AAB5D
accent
#D65651
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7C2D79

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

Preview Lab → · Contrast checker → · Palette generator →

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