#7A1676#7A1676

#7A1676 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.170 H 330.0°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#7A1676
RGBrgb(122, 22, 118)
HSLhsl(302, 69%, 28%)
HSVhsv(302, 82%, 48%)
CMYKcmyk(0%, 82%, 3.3%, 52.2%)
CIE-LABlab(29.46, 51.93, -30.74)
CIE-LCHlch(29.46, 60.35, 329.37°)
OKLaboklab(41.45% 0.147 -0.085)
OKLCHoklch(41.45% 0.17 330)
XYZxyz(11.5829, 6.0203, 17.6880)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1676 #167A1A
analogous
#4C167A #7A1676 #7A1644
triadic
#7A1676 #767A16 #16767A
tetradic
#7A1676 #7A4C16 #167A1A #16447A
square
#7A1676 #7A4C16 #167A1A #16447A
split-complementary
#7A1676 #447A16 #167A4C
monochromatic
#1A0519 #460D44 #7A1676 #AE1FA8 #DA31D3

Accessibility & contrast

On white

9.53
#7A1676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7A1676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1676
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1676#FFFFFF#000000##FFFFFF
##7A16761.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033D78
Deuteranopia (green-blind)
#364A74
Tritanopia (blue-blind)
#7F2646
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a1676;
/* rgb */ color: rgb(122, 22, 118);
/* oklch */ color: oklch(41.5% 0.170 330.0);
Tailwind
colors: {
  custom: {
    50: '#a4619e',
    500: '#7a1676',
    950: '#000000',
  },
}
SCSS
$custom: #7a1676;
$custom-light: #a4619e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1676",
  "rgb": {
    "r": 122,
    "g": 22,
    "b": 118
  },
  "hsl": {
    "h": 302.4,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41453,
    "c": 0.1698,
    "h": 330
  },
  "luminance": 0.06019
}

Semantic roles & 50–950 ramp

primary
#7A1676
secondary
#3DAF41
accent
#EC433C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A1676

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

Preview Lab → · Contrast checker → · Palette generator →

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