#7A2C82#7A2C82

#7A2C82 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.2% C 0.154 H 323.9°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#7A2C82
RGBrgb(122, 44, 130)
HSLhsl(294, 49%, 34%)
HSVhsv(294, 66%, 51%)
CMYKcmyk(6.2%, 66.2%, 0%, 49%)
CIE-LABlab(33.03, 45.98, -32.63)
CIE-LCHlch(33.03, 56.38, 324.64°)
OKLaboklab(44.24% 0.1243 -0.0907)
OKLCHoklch(44.24% 0.154 323.9)
XYZxyz(12.9556, 7.5514, 21.8899)
Luminance0.0755 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2C82 #34822C
analogous
#4F2C82 #7A2C82 #822C5F
triadic
#7A2C82 #827A2C #2C827A
tetradic
#7A2C82 #824F2C #34822C #2C5F82
square
#7A2C82 #824F2C #34822C #2C5F82
split-complementary
#7A2C82 #5F822C #2C824F
monochromatic
#240D27 #4F1D54 #7A2C82 #A53BB0 #BF5FC9

Accessibility & contrast

On white

8.37
#7A2C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A2C82
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2C82#FFFFFF#000000##FFFFFF
##7A2C821.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4885
Deuteranopia (green-blind)
#3A5180
Tritanopia (blue-blind)
#7C3953
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7a2c82;
/* rgb */ color: rgb(122, 44, 130);
/* oklch */ color: oklch(44.2% 0.154 323.9);
Tailwind
colors: {
  custom: {
    50: '#a36ba7',
    500: '#7a2c82',
    950: '#000000',
  },
}
SCSS
$custom: #7a2c82;
$custom-light: #a36ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2c82",
  "rgb": {
    "r": 122,
    "g": 44,
    "b": 130
  },
  "hsl": {
    "h": 294.419,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44241,
    "c": 0.15383,
    "h": 323.9
  },
  "luminance": 0.07551
}

Semantic roles & 50–950 ramp

primary
#7A2C82
secondary
#63AF5B
accent
#D94F5C
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #7A2C82

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

Preview Lab → · Contrast checker → · Palette generator →

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