#7A1774#7A1774

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

Color values

HEX#7A1774
RGBrgb(122, 23, 116)
HSLhsl(304, 68%, 28%)
HSVhsv(304, 81%, 48%)
CMYKcmyk(0%, 81.1%, 4.9%, 52.2%)
CIE-LABlab(29.44, 51.31, -29.50)
CIE-LCHlch(29.44, 59.19, 330.10°)
OKLaboklab(41.4% 0.1462 -0.0814)
OKLCHoklch(41.4% 0.167 330.9)
XYZxyz(11.4848, 6.0123, 17.0752)
Luminance0.0601 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1774 #177A1D
analogous
#4E177A #7A1774 #7A1742
triadic
#7A1774 #747A17 #17747A
tetradic
#7A1774 #7A4E17 #177A1D #17427A
square
#7A1774 #7A4E17 #177A1D #17427A
split-complementary
#7A1774 #427A17 #177A4E
monochromatic
#1A0518 #470D43 #7A1774 #AD21A5 #D933CE

Accessibility & contrast

On white

9.54
#7A1774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1774
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1774#FFFFFF#000000##FFFFFF
##7A17741.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093D76
Deuteranopia (green-blind)
#384A72
Tritanopia (blue-blind)
#7F2545
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a1774;
/* rgb */ color: rgb(122, 23, 116);
/* oklch */ color: oklch(41.4% 0.167 330.9);
Tailwind
colors: {
  custom: {
    50: '#a4629c',
    500: '#7a1774',
    950: '#000000',
  },
}
SCSS
$custom: #7a1774;
$custom-light: #a4629c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1774",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 303.636,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41401,
    "c": 0.16733,
    "h": 330.9
  },
  "luminance": 0.06011
}

Semantic roles & 50–950 ramp

primary
#7A1774
secondary
#3EAF45
accent
#EB473D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A1774

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

Preview Lab → · Contrast checker → · Palette generator →

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