#7A2A6E#7A2A6E

#7A2A6E is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.9% C 0.139 H 334.1°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#7A2A6E
RGBrgb(122, 42, 110)
HSLhsl(309, 49%, 32%)
HSVhsv(309, 66%, 48%)
CMYKcmyk(0%, 65.6%, 9.8%, 52.2%)
CIE-LABlab(31.62, 43.22, -22.25)
CIE-LCHlch(31.62, 48.61, 332.76°)
OKLaboklab(42.87% 0.1251 -0.0607)
OKLCHoklch(42.87% 0.139 334.1)
XYZxyz(11.6685, 6.9202, 15.4700)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2A6E #2A7A36
analogous
#5E2A7A #7A2A6E #7A2A46
triadic
#7A2A6E #6E7A2A #2A6E7A
tetradic
#7A2A6E #7A5E2A #2A7A36 #2A467A
square
#7A2A6E #7A5E2A #2A7A36 #2A467A
split-complementary
#7A2A6E #467A2A #2A7A5E
monochromatic
#1F0B1C #4C1A45 #7A2A6E #A83A97 #C659B5

Accessibility & contrast

On white

8.81
#7A2A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7A2A6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2A6E
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2A6E#FFFFFF#000000##FFFFFF
##7A2A6E1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294370
Deuteranopia (green-blind)
#434F6C
Tritanopia (blue-blind)
#803048
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a2a6e;
/* rgb */ color: rgb(122, 42, 110);
/* oklch */ color: oklch(42.9% 0.139 334.1);
Tailwind
colors: {
  custom: {
    50: '#a36a98',
    500: '#7a2a6e',
    950: '#000000',
  },
}
SCSS
$custom: #7a2a6e;
$custom-light: #a36a98;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2a6e",
  "rgb": {
    "r": 122,
    "g": 42,
    "b": 110
  },
  "hsl": {
    "h": 309,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42869,
    "c": 0.13908,
    "h": 334.1
  },
  "luminance": 0.06919
}

Semantic roles & 50–950 ramp

primary
#7A2A6E
secondary
#55AB62
accent
#D8644F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #7A2A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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