#7A2D73#7A2D73

#7A2D73 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.5% C 0.139 H 331.4°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#7A2D73
RGBrgb(122, 45, 115)
HSLhsl(305, 46%, 33%)
HSVhsv(305, 63%, 48%)
CMYKcmyk(0%, 63.1%, 5.7%, 52.2%)
CIE-LABlab(32.38, 42.73, -24.25)
CIE-LCHlch(32.38, 49.13, 330.42°)
OKLaboklab(43.5% 0.1218 -0.0664)
OKLCHoklch(43.5% 0.139 331.4)
XYZxyz(12.0589, 7.2530, 16.9812)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2D73 #2D7A34
analogous
#5B2D7A #7A2D73 #7A2D4C
triadic
#7A2D73 #737A2D #2D737A
tetradic
#7A2D73 #7A5B2D #2D7A34 #2D4C7A
square
#7A2D73 #7A5B2D #2D7A34 #2D4C7A
split-complementary
#7A2D73 #4C7A2D #2D7A5B
monochromatic
#210C1F #4D1D49 #7A2D73 #A73D9D #C45EBA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A2D73#FFFFFF#000000##FFFFFF
##7A2D731.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)
#294575
Deuteranopia (green-blind)
#425071
Tritanopia (blue-blind)
#7F344B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a2d73;
/* rgb */ color: rgb(122, 45, 115);
/* oklch */ color: oklch(43.5% 0.139 331.4);
Tailwind
colors: {
  custom: {
    50: '#a36b9b',
    500: '#7a2d73',
    950: '#000000',
  },
}
SCSS
$custom: #7a2d73;
$custom-light: #a36b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2d73",
  "rgb": {
    "r": 122,
    "g": 45,
    "b": 115
  },
  "hsl": {
    "h": 305.455,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43499,
    "c": 0.13876,
    "h": 331.4
  },
  "luminance": 0.07252
}

Semantic roles & 50–950 ramp

primary
#7A2D73
secondary
#59AA60
accent
#D65E52
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #7A2D73

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

Preview Lab → · Contrast checker → · Palette generator →

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