#7A1671#7A1671

#7A1671 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.166 H 332.3°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#7A1671
RGBrgb(122, 22, 113)
HSLhsl(305, 69%, 28%)
HSVhsv(305, 82%, 48%)
CMYKcmyk(0%, 82%, 7.4%, 52.2%)
CIE-LABlab(29.17, 51.11, -28.02)
CIE-LCHlch(29.17, 58.29, 331.27°)
OKLaboklab(41.15% 0.147 -0.0771)
OKLCHoklch(41.15% 0.166 332.3)
XYZxyz(11.2936, 5.9046, 16.1645)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1671 #167A1F
analogous
#51167A #7A1671 #7A163F
triadic
#7A1671 #717A16 #16717A
tetradic
#7A1671 #7A5116 #167A1F #163F7A
square
#7A1671 #7A5116 #167A1F #163F7A
split-complementary
#7A1671 #3F7A16 #167A51
monochromatic
#1A0518 #460D41 #7A1671 #AE1FA1 #DA31CB

Accessibility & contrast

On white

9.63
#7A1671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7A1671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1671
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1671#FFFFFF#000000##FFFFFF
##7A16711.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3C73
Deuteranopia (green-blind)
#394A6F
Tritanopia (blue-blind)
#802343
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a1671;
/* rgb */ color: rgb(122, 22, 113);
/* oklch */ color: oklch(41.1% 0.166 332.3);
Tailwind
colors: {
  custom: {
    50: '#a4619a',
    500: '#7a1671',
    950: '#000000',
  },
}
SCSS
$custom: #7a1671;
$custom-light: #a4619a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1671",
  "rgb": {
    "r": 122,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 305.4,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.4115,
    "c": 0.16599,
    "h": 332.3
  },
  "luminance": 0.05904
}

Semantic roles & 50–950 ramp

primary
#7A1671
secondary
#3DAF47
accent
#EC4B3C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A1671

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

Preview Lab → · Contrast checker → · Palette generator →

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