#7A1472#7A1472

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

Color values

HEX#7A1472
RGBrgb(122, 20, 114)
HSLhsl(305, 72%, 28%)
HSVhsv(305, 84%, 48%)
CMYKcmyk(0%, 83.6%, 6.6%, 52.2%)
CIE-LABlab(29.04, 51.81, -28.86)
CIE-LCHlch(29.04, 59.31, 330.88°)
OKLaboklab(41.08% 0.1486 -0.0796)
OKLCHoklch(41.08% 0.169 331.8)
XYZxyz(11.3135, 5.8538, 16.4504)
Luminance0.0585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1472 #147A1C
analogous
#4F147A #7A1472 #7A143F
triadic
#7A1472 #727A14 #14727A
tetradic
#7A1472 #7A4F14 #147A1C #143F7A
square
#7A1472 #7A4F14 #147A1C #143F7A
split-complementary
#7A1472 #3F7A14 #147A4F
monochromatic
#1A0419 #450B41 #7A1472 #AF1DA3 #DC2CCF

Accessibility & contrast

On white

9.67
#7A1472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7A1472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1472
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1472#FFFFFF#000000##FFFFFF
##7A14721.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083C74
Deuteranopia (green-blind)
#384970
Tritanopia (blue-blind)
#7F2243
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a1472;
/* rgb */ color: rgb(122, 20, 114);
/* oklch */ color: oklch(41.1% 0.169 331.8);
Tailwind
colors: {
  custom: {
    50: '#a4609b',
    500: '#7a1472',
    950: '#000000',
  },
}
SCSS
$custom: #7a1472;
$custom-light: #a4609b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1472",
  "rgb": {
    "r": 122,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 304.706,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41076,
    "c": 0.16853,
    "h": 331.8
  },
  "luminance": 0.05853
}

Semantic roles & 50–950 ramp

primary
#7A1472
secondary
#3AB043
accent
#EF4739
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7A1472

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

Preview Lab → · Contrast checker → · Palette generator →

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