#7A1474#7A1474

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

Color values

HEX#7A1474
RGBrgb(122, 20, 116)
HSLhsl(304, 72%, 28%)
HSVhsv(304, 84%, 48%)
CMYKcmyk(0%, 83.6%, 4.9%, 52.2%)
CIE-LABlab(29.16, 52.14, -29.95)
CIE-LCHlch(29.16, 60.13, 330.12°)
OKLaboklab(41.2% 0.1486 -0.0827)
OKLCHoklch(41.2% 0.17 330.9)
XYZxyz(11.4286, 5.8998, 17.0565)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1474 #147A1A
analogous
#4D147A #7A1474 #7A1441
triadic
#7A1474 #747A14 #14747A
tetradic
#7A1474 #7A4D14 #147A1A #14417A
square
#7A1474 #7A4D14 #147A1A #14417A
split-complementary
#7A1474 #417A14 #147A4D
monochromatic
#1A0419 #450B42 #7A1474 #AF1DA6 #DC2CD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A1474#FFFFFF#000000##FFFFFF
##7A14741.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)
#043C76
Deuteranopia (green-blind)
#374972
Tritanopia (blue-blind)
#7F2345
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a1474;
/* rgb */ color: rgb(122, 20, 116);
/* oklch */ color: oklch(41.2% 0.170 330.9);
Tailwind
colors: {
  custom: {
    50: '#a4619c',
    500: '#7a1474',
    950: '#000000',
  },
}
SCSS
$custom: #7a1474;
$custom-light: #a4619c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1474",
  "rgb": {
    "r": 122,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 303.529,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41197,
    "c": 0.17004,
    "h": 330.9
  },
  "luminance": 0.05899
}

Semantic roles & 50–950 ramp

primary
#7A1474
secondary
#3AB041
accent
#EF4439
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7A1474

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

Preview Lab → · Contrast checker → · Palette generator →

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