#7A1673#7A1673

#7A1673 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.168 H 331.4°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#7A1673
RGBrgb(122, 22, 115)
HSLhsl(304, 69%, 28%)
HSVhsv(304, 82%, 48%)
CMYKcmyk(0%, 82%, 5.7%, 52.2%)
CIE-LABlab(29.29, 51.43, -29.11)
CIE-LCHlch(29.29, 59.10, 330.49°)
OKLaboklab(41.27% 0.147 -0.0803)
OKLCHoklch(41.27% 0.168 331.4)
XYZxyz(11.4075, 5.9502, 16.7640)
Luminance0.0595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1673 #167A1D
analogous
#4F167A #7A1673 #7A1641
triadic
#7A1673 #737A16 #16737A
tetradic
#7A1673 #7A4F16 #167A1D #16417A
square
#7A1673 #7A4F16 #167A1D #16417A
split-complementary
#7A1673 #417A16 #167A4F
monochromatic
#1A0518 #460D42 #7A1673 #AE1FA4 #DA31CE

Accessibility & contrast

On white

9.59
#7A1673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1673
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1673#FFFFFF#000000##FFFFFF
##7A16731.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3C75
Deuteranopia (green-blind)
#384A71
Tritanopia (blue-blind)
#7F2444
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a1673;
/* rgb */ color: rgb(122, 22, 115);
/* oklch */ color: oklch(41.3% 0.168 331.4);
Tailwind
colors: {
  custom: {
    50: '#a4619b',
    500: '#7a1673',
    950: '#000000',
  },
}
SCSS
$custom: #7a1673;
$custom-light: #a4619b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1673",
  "rgb": {
    "r": 122,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 304.2,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.4127,
    "c": 0.1675,
    "h": 331.4
  },
  "luminance": 0.05949
}

Semantic roles & 50–950 ramp

primary
#7A1673
secondary
#3DAF45
accent
#EC483C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A1673

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

Preview Lab → · Contrast checker → · Palette generator →

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