#7A1471#7A1471

#7A1471 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.0% C 0.168 H 332.3°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#7A1471
RGBrgb(122, 20, 113)
HSLhsl(305, 72%, 28%)
HSVhsv(305, 84%, 48%)
CMYKcmyk(0%, 83.6%, 7.4%, 52.2%)
CIE-LABlab(28.98, 51.66, -28.32)
CIE-LCHlch(28.98, 58.91, 331.27°)
OKLaboklab(41.02% 0.1486 -0.078)
OKLCHoklch(41.02% 0.168 332.3)
XYZxyz(11.2569, 5.8311, 16.1522)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1471 #147A1D
analogous
#50147A #7A1471 #7A143E
triadic
#7A1471 #717A14 #14717A
tetradic
#7A1471 #7A5014 #147A1D #143E7A
square
#7A1471 #7A5014 #147A1D #143E7A
split-complementary
#7A1471 #3E7A14 #147A50
monochromatic
#1A0418 #450B40 #7A1471 #AF1DA2 #DC2CCD

Accessibility & contrast

On white

9.70
#7A1471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1471
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1471#FFFFFF#000000##FFFFFF
##7A14711.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3B73
Deuteranopia (green-blind)
#38496F
Tritanopia (blue-blind)
#802243
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a1471;
/* rgb */ color: rgb(122, 20, 113);
/* oklch */ color: oklch(41.0% 0.168 332.3);
Tailwind
colors: {
  custom: {
    50: '#a4609a',
    500: '#7a1471',
    950: '#000000',
  },
}
SCSS
$custom: #7a1471;
$custom-light: #a4609a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1471",
  "rgb": {
    "r": 122,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 305.294,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41015,
    "c": 0.16779,
    "h": 332.3
  },
  "luminance": 0.0583
}

Semantic roles & 50–950 ramp

primary
#7A1471
secondary
#3AB044
accent
#EF4939
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7A1471

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

Preview Lab → · Contrast checker → · Palette generator →

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