#7A2A84#7A2A84

#7A2A84 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.1% C 0.158 H 323.1°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#7A2A84
RGBrgb(122, 42, 132)
HSLhsl(293, 52%, 34%)
HSVhsv(293, 68%, 52%)
CMYKcmyk(7.6%, 68.2%, 0%, 48.2%)
CIE-LABlab(32.83, 47.25, -34.19)
CIE-LCHlch(32.83, 58.32, 324.11°)
OKLaboklab(44.14% 0.1267 -0.0952)
OKLCHoklch(44.14% 0.158 323.1)
XYZxyz(13.0185, 7.4602, 22.5796)
Luminance0.0746 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2A84 #34842A
analogous
#4D2A84 #7A2A84 #842A61
triadic
#7A2A84 #847A2A #2A847A
tetradic
#7A2A84 #844D2A #34842A #2A6184
square
#7A2A84 #844D2A #34842A #2A6184
split-complementary
#7A2A84 #61842A #2A844D
monochromatic
#240C27 #4F1B56 #7A2A84 #A539B2 #BF5DCB

Accessibility & contrast

On white

8.43
#7A2A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7A2A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2A84
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2A84#FFFFFF#000000##FFFFFF
##7A2A841.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134787
Deuteranopia (green-blind)
#375082
Tritanopia (blue-blind)
#7C3953
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a2a84;
/* rgb */ color: rgb(122, 42, 132);
/* oklch */ color: oklch(44.1% 0.158 323.1);
Tailwind
colors: {
  custom: {
    50: '#a36aa8',
    500: '#7a2a84',
    950: '#000000',
  },
}
SCSS
$custom: #7a2a84;
$custom-light: #a36aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2a84",
  "rgb": {
    "r": 122,
    "g": 42,
    "b": 132
  },
  "hsl": {
    "h": 293.333,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44136,
    "c": 0.15849,
    "h": 323.1
  },
  "luminance": 0.07459
}

Semantic roles & 50–950 ramp

primary
#7A2A84
secondary
#63B159
accent
#DB4D5C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #7A2A84

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

Preview Lab → · Contrast checker → · Palette generator →

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