#7C1676#7C1676

#7C1676 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.171 H 330.8°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#7C1676
RGBrgb(124, 22, 118)
HSLhsl(304, 70%, 29%)
HSVhsv(304, 82%, 49%)
CMYKcmyk(0%, 82.3%, 4.8%, 51.4%)
CIE-LABlab(29.83, 52.36, -30.13)
CIE-LCHlch(29.83, 60.42, 330.08°)
OKLaboklab(41.79% 0.1492 -0.0832)
OKLCHoklch(41.79% 0.171 330.8)
XYZxyz(11.8691, 6.1679, 17.7014)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1676 #167C1C
analogous
#4F167C #7C1676 #7C1643
triadic
#7C1676 #767C16 #16767C
tetradic
#7C1676 #7C4F16 #167C1C #16437C
square
#7C1676 #7C4F16 #167C1C #16437C
split-complementary
#7C1676 #437C16 #167C4F
monochromatic
#1A0519 #480D45 #7C1676 #B01FA7 #DB32D1

Accessibility & contrast

On white

9.40
#7C1676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7C1676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1676
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1676#FFFFFF#000000##FFFFFF
##7C16761.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073D78
Deuteranopia (green-blind)
#384B74
Tritanopia (blue-blind)
#812546
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c1676;
/* rgb */ color: rgb(124, 22, 118);
/* oklch */ color: oklch(41.8% 0.171 330.8);
Tailwind
colors: {
  custom: {
    50: '#a5629e',
    500: '#7c1676',
    950: '#000000',
  },
}
SCSS
$custom: #7c1676;
$custom-light: #a5629e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1676",
  "rgb": {
    "r": 124,
    "g": 22,
    "b": 118
  },
  "hsl": {
    "h": 303.529,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41785,
    "c": 0.17079,
    "h": 330.8
  },
  "luminance": 0.06167
}

Semantic roles & 50–950 ramp

primary
#7C1676
secondary
#3DB144
accent
#ED463B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7C1676

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

Preview Lab → · Contrast checker → · Palette generator →

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