#7A2A7C#7A2A7C

#7A2A7C is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.7% C 0.151 H 326.8°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#7A2A7C
RGBrgb(122, 42, 124)
HSLhsl(299, 49%, 33%)
HSVhsv(299, 66%, 49%)
CMYKcmyk(1.6%, 66.1%, 0%, 51.4%)
CIE-LABlab(32.37, 45.73, -29.93)
CIE-LCHlch(32.37, 54.65, 326.80°)
OKLaboklab(43.65% 0.1265 -0.0828)
OKLCHoklch(43.65% 0.151 326.8)
XYZxyz(12.4919, 7.2495, 19.8062)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2A7C #2C7C2A
analogous
#512A7C #7A2A7C #7C2A55
triadic
#7A2A7C #7C7A2A #2A7C7A
tetradic
#7A2A7C #7C512A #2C7C2A #2A557C
square
#7A2A7C #7C512A #2C7C2A #2A557C
split-complementary
#7A2A7C #557C2A #2A7C51
monochromatic
#200B21 #4D1B4E #7A2A7C #A739AA #C459C7

Accessibility & contrast

On white

8.57
#7A2A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7A2A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2A7C
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2A7C#FFFFFF#000000##FFFFFF
##7A2A7C1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E467E
Deuteranopia (green-blind)
#3C507A
Tritanopia (blue-blind)
#7D354F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a2a7c;
/* rgb */ color: rgb(122, 42, 124);
/* oklch */ color: oklch(43.7% 0.151 326.8);
Tailwind
colors: {
  custom: {
    50: '#a36aa2',
    500: '#7a2a7c',
    950: '#000000',
  },
}
SCSS
$custom: #7a2a7c;
$custom-light: #a36aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2a7c",
  "rgb": {
    "r": 122,
    "g": 42,
    "b": 124
  },
  "hsl": {
    "h": 298.537,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43651,
    "c": 0.15119,
    "h": 326.8
  },
  "luminance": 0.07249
}

Semantic roles & 50–950 ramp

primary
#7A2A7C
secondary
#57AD55
accent
#D94F52
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #7A2A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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