#7A1672#7A1672

#7A1672 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.167 H 331.8°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#7A1672
RGBrgb(122, 22, 114)
HSLhsl(305, 69%, 28%)
HSVhsv(305, 82%, 48%)
CMYKcmyk(0%, 82%, 6.6%, 52.2%)
CIE-LABlab(29.23, 51.27, -28.57)
CIE-LCHlch(29.23, 58.69, 330.87°)
OKLaboklab(41.21% 0.147 -0.0787)
OKLCHoklch(41.21% 0.167 331.8)
XYZxyz(11.3502, 5.9273, 16.4626)
Luminance0.0593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1672 #167A1E
analogous
#50167A #7A1672 #7A1640
triadic
#7A1672 #727A16 #16727A
tetradic
#7A1672 #7A5016 #167A1E #16407A
square
#7A1672 #7A5016 #167A1E #16407A
split-complementary
#7A1672 #407A16 #167A50
monochromatic
#1A0518 #460D42 #7A1672 #AE1FA2 #DA31CC

Accessibility & contrast

On white

9.61
#7A1672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7A1672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1672
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1672#FFFFFF#000000##FFFFFF
##7A16721.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3C74
Deuteranopia (green-blind)
#384A70
Tritanopia (blue-blind)
#7F2344
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a1672;
/* rgb */ color: rgb(122, 22, 114);
/* oklch */ color: oklch(41.2% 0.167 331.8);
Tailwind
colors: {
  custom: {
    50: '#a4619b',
    500: '#7a1672',
    950: '#000000',
  },
}
SCSS
$custom: #7a1672;
$custom-light: #a4619b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1672",
  "rgb": {
    "r": 122,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 304.8,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41209,
    "c": 0.16674,
    "h": 331.8
  },
  "luminance": 0.05926
}

Semantic roles & 50–950 ramp

primary
#7A1672
secondary
#3DAF46
accent
#EC4A3C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A1672

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

Preview Lab → · Contrast checker → · Palette generator →

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