#7A2A88#7A2A88

#7A2A88 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.4% C 0.162 H 321.4°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#7A2A88
RGBrgb(122, 42, 136)
HSLhsl(291, 53%, 35%)
HSVhsv(291, 69%, 53%)
CMYKcmyk(10.3%, 69.1%, 0%, 46.7%)
CIE-LABlab(33.07, 48.04, -36.28)
CIE-LCHlch(33.07, 60.20, 322.93°)
OKLaboklab(44.39% 0.1267 -0.1013)
OKLCHoklch(44.39% 0.162 321.4)
XYZxyz(13.2974, 7.5718, 24.0489)
Luminance0.0757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2A88 #38882A
analogous
#4B2A88 #7A2A88 #882A67
triadic
#7A2A88 #887A2A #2A887A
tetradic
#7A2A88 #884B2A #38882A #2A6788
square
#7A2A88 #884B2A #38882A #2A6788
split-complementary
#7A2A88 #67882A #2A884B
monochromatic
#260D2A #501C59 #7A2A88 #A438B7 #BD5FCE

Accessibility & contrast

On white

8.35
#7A2A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7A2A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2A88
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2A88#FFFFFF#000000##FFFFFF
##7A2A881.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C488B
Deuteranopia (green-blind)
#355186
Tritanopia (blue-blind)
#7B3A55
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7a2a88;
/* rgb */ color: rgb(122, 42, 136);
/* oklch */ color: oklch(44.4% 0.162 321.4);
Tailwind
colors: {
  custom: {
    50: '#a36bab',
    500: '#7a2a88',
    950: '#000000',
  },
}
SCSS
$custom: #7a2a88;
$custom-light: #a36bab;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2a88",
  "rgb": {
    "r": 122,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 291.064,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44388,
    "c": 0.1622,
    "h": 321.4
  },
  "luminance": 0.07571
}

Semantic roles & 50–950 ramp

primary
#7A2A88
secondary
#68B35B
accent
#DC4C61
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #7A2A88

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

Preview Lab → · Contrast checker → · Palette generator →

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