#7C2079#7C2079

#7C2079 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.163 H 329.4°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#7C2079
RGBrgb(124, 32, 121)
HSLhsl(302, 59%, 31%)
HSVhsv(302, 74%, 49%)
CMYKcmyk(0%, 74.2%, 2.4%, 51.4%)
CIE-LABlab(31.11, 49.70, -30.00)
CIE-LCHlch(31.11, 58.05, 328.88°)
OKLaboklab(42.76% 0.1401 -0.0829)
OKLCHoklch(42.76% 0.163 329.4)
XYZxyz(12.2798, 6.6995, 18.7318)
Luminance0.0670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2079 #207C23
analogous
#51207C #7C2079 #7C204B
triadic
#7C2079 #797C20 #20797C
tetradic
#7C2079 #7C5120 #207C23 #204B7C
square
#7C2079 #7C5120 #207C23 #204B7C
split-complementary
#7C2079 #4B7C20 #207C51
monochromatic
#1B071A #4B134A #7C2079 #AD2DA8 #CF47CB

Accessibility & contrast

On white

8.98
#7C2079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7C2079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2079
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2079#FFFFFF#000000##FFFFFF
##7C20791.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13417B
Deuteranopia (green-blind)
#3A4E77
Tritanopia (blue-blind)
#812D4A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7c2079;
/* rgb */ color: rgb(124, 32, 121);
/* oklch */ color: oklch(42.8% 0.163 329.4);
Tailwind
colors: {
  custom: {
    50: '#a566a0',
    500: '#7c2079',
    950: '#000000',
  },
}
SCSS
$custom: #7c2079;
$custom-light: #a566a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2079",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 301.957,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42757,
    "c": 0.16276,
    "h": 329.4
  },
  "luminance": 0.06699
}

Semantic roles & 50–950 ramp

primary
#7C2079
secondary
#49AF4C
accent
#E24B46
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7C2079

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

Preview Lab → · Contrast checker → · Palette generator →

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