#7A2471#7A2471

#7A2471 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.4% C 0.150 H 332.4°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#7A2471
RGBrgb(122, 36, 113)
HSLhsl(306, 54%, 31%)
HSVhsv(306, 70%, 48%)
CMYKcmyk(0%, 70.5%, 7.4%, 52.2%)
CIE-LABlab(30.86, 46.30, -25.36)
CIE-LCHlch(30.86, 52.79, 331.29°)
OKLaboklab(42.36% 0.133 -0.0695)
OKLCHoklch(42.36% 0.15 332.4)
XYZxyz(11.6376, 6.5925, 16.2791)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2471 #247A2D
analogous
#58247A #7A2471 #7A2446
triadic
#7A2471 #717A24 #24717A
tetradic
#7A2471 #7A5824 #247A2D #24467A
square
#7A2471 #7A5824 #247A2D #24467A
split-complementary
#7A2471 #467A24 #247A58
monochromatic
#1B0819 #4B1645 #7A2471 #A9329D #CB4EBE

Accessibility & contrast

On white

9.06
#7A2471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7A2471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2471
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2471#FFFFFF#000000##FFFFFF
##7A24711.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204173
Deuteranopia (green-blind)
#3F4D6F
Tritanopia (blue-blind)
#7F2C47
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a2471;
/* rgb */ color: rgb(122, 36, 113);
/* oklch */ color: oklch(42.4% 0.150 332.4);
Tailwind
colors: {
  custom: {
    50: '#a3679a',
    500: '#7a2471',
    950: '#000000',
  },
}
SCSS
$custom: #7a2471;
$custom-light: #a3679a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2471",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 113
  },
  "hsl": {
    "h": 306.279,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42364,
    "c": 0.15005,
    "h": 332.4
  },
  "luminance": 0.06592
}

Semantic roles & 50–950 ramp

primary
#7A2471
secondary
#4DAC57
accent
#DE594A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #7A2471

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

Preview Lab → · Contrast checker → · Palette generator →

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