#7A1773#7A1773

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

Color values

HEX#7A1773
RGBrgb(122, 23, 115)
HSLhsl(304, 68%, 28%)
HSVhsv(304, 81%, 48%)
CMYKcmyk(0%, 81.1%, 5.7%, 52.2%)
CIE-LABlab(29.38, 51.15, -28.96)
CIE-LCHlch(29.38, 58.78, 330.48°)
OKLaboklab(41.34% 0.1462 -0.0798)
OKLCHoklch(41.34% 0.167 331.4)
XYZxyz(11.4270, 5.9891, 16.7705)
Luminance0.0599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1773 #177A1E
analogous
#4F177A #7A1773 #7A1741
triadic
#7A1773 #737A17 #17737A
tetradic
#7A1773 #7A4F17 #177A1E #17417A
square
#7A1773 #7A4F17 #177A1E #17417A
split-complementary
#7A1773 #417A17 #177A4F
monochromatic
#1A0518 #470D42 #7A1773 #AD21A4 #D933CD

Accessibility & contrast

On white

9.56
#7A1773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1773
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1773#FFFFFF#000000##FFFFFF
##7A17731.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1773;
/* rgb */ color: rgb(122, 23, 115);
/* oklch */ color: oklch(41.3% 0.167 331.4);
Tailwind
colors: {
  custom: {
    50: '#a4619b',
    500: '#7a1773',
    950: '#000000',
  },
}
SCSS
$custom: #7a1773;
$custom-light: #a4619b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1773",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 304.242,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4134,
    "c": 0.16657,
    "h": 331.4
  },
  "luminance": 0.05988
}

Semantic roles & 50–950 ramp

primary
#7A1773
secondary
#3EAF46
accent
#EB493D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A1773

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

Preview Lab → · Contrast checker → · Palette generator →

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