#7A1677#7A1677

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

Color values

HEX#7A1677
RGBrgb(122, 22, 119)
HSLhsl(302, 69%, 28%)
HSVhsv(302, 82%, 48%)
CMYKcmyk(0%, 82%, 2.5%, 52.2%)
CIE-LABlab(29.52, 52.09, -31.28)
CIE-LCHlch(29.52, 60.77, 329.02°)
OKLaboklab(41.52% 0.147 -0.0866)
OKLCHoklch(41.52% 0.171 329.5)
XYZxyz(11.6426, 6.0442, 18.0026)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1677 #167A19
analogous
#4B167A #7A1677 #7A1645
triadic
#7A1677 #777A16 #16777A
tetradic
#7A1677 #7A4B16 #167A19 #16457A
square
#7A1677 #7A4B16 #167A19 #16457A
split-complementary
#7A1677 #457A16 #167A4B
monochromatic
#1A0519 #460D44 #7A1677 #AE1FAA #DA31D5

Accessibility & contrast

On white

9.51
#7A1677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7A1677 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1677
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1677#FFFFFF#000000##FFFFFF
##7A16771.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013D7A
Deuteranopia (green-blind)
#364A75
Tritanopia (blue-blind)
#7F2647
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a1677;
/* rgb */ color: rgb(122, 22, 119);
/* oklch */ color: oklch(41.5% 0.171 329.5);
Tailwind
colors: {
  custom: {
    50: '#a4619f',
    500: '#7a1677',
    950: '#000000',
  },
}
SCSS
$custom: #7a1677;
$custom-light: #a4619f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1677",
  "rgb": {
    "r": 122,
    "g": 22,
    "b": 119
  },
  "hsl": {
    "h": 301.8,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41515,
    "c": 0.17057,
    "h": 329.5
  },
  "luminance": 0.06043
}

Semantic roles & 50–950 ramp

primary
#7A1677
secondary
#3DAF40
accent
#EC413C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A1677

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

Preview Lab → · Contrast checker → · Palette generator →

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