#7A2A73#7A2A73

#7A2A73 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.1% C 0.143 H 331.4°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#7A2A73
RGBrgb(122, 42, 115)
HSLhsl(305, 49%, 32%)
HSVhsv(305, 66%, 48%)
CMYKcmyk(0%, 65.6%, 5.7%, 52.2%)
CIE-LABlab(31.88, 44.09, -25.02)
CIE-LCHlch(31.88, 50.70, 330.42°)
OKLaboklab(43.14% 0.1258 -0.0687)
OKLCHoklch(43.14% 0.143 331.4)
XYZxyz(11.9485, 7.0322, 16.9444)
Luminance0.0703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2A73 #2A7A31
analogous
#592A7A #7A2A73 #7A2A4B
triadic
#7A2A73 #737A2A #2A737A
tetradic
#7A2A73 #7A592A #2A7A31 #2A4B7A
square
#7A2A73 #7A592A #2A7A31 #2A4B7A
split-complementary
#7A2A73 #4B7A2A #2A7A59
monochromatic
#1F0B1D #4C1A48 #7A2A73 #A83A9E #C659BC

Accessibility & contrast

On white

8.73
#7A2A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7A2A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2A73
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2A73#FFFFFF#000000##FFFFFF
##7A2A731.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254475
Deuteranopia (green-blind)
#414F71
Tritanopia (blue-blind)
#7F324A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7a2a73;
/* rgb */ color: rgb(122, 42, 115);
/* oklch */ color: oklch(43.1% 0.143 331.4);
Tailwind
colors: {
  custom: {
    50: '#a36a9b',
    500: '#7a2a73',
    950: '#000000',
  },
}
SCSS
$custom: #7a2a73;
$custom-light: #a36a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2a73",
  "rgb": {
    "r": 122,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 305.25,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43138,
    "c": 0.14329,
    "h": 331.4
  },
  "luminance": 0.07031
}

Semantic roles & 50–950 ramp

primary
#7A2A73
secondary
#55AB5C
accent
#D85B4F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7A2A73

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

Preview Lab → · Contrast checker → · Palette generator →

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