#7A2080#7A2080

#7A2080 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.168 H 325.3°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#7A2080
RGBrgb(122, 32, 128)
HSLhsl(296, 60%, 31%)
HSVhsv(296, 75%, 50%)
CMYKcmyk(4.7%, 75%, 0%, 49.8%)
CIE-LABlab(31.18, 50.47, -34.31)
CIE-LCHlch(31.18, 61.03, 325.79°)
OKLaboklab(42.88% 0.1377 -0.0955)
OKLCHoklch(42.88% 0.168 325.3)
XYZxyz(12.4385, 6.7299, 21.0617)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2080 #268020
analogous
#4A2080 #7A2080 #802056
triadic
#7A2080 #807A20 #20807A
tetradic
#7A2080 #804A20 #268020 #205680
square
#7A2080 #804A20 #268020 #205680
split-complementary
#7A2080 #568020 #20804A
monochromatic
#1D081E #4B144F #7A2080 #A92CB1 #C949D1

Accessibility & contrast

On white

8.95
#7A2080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7A2080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2080
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2080#FFFFFF#000000##FFFFFF
##7A20801.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024283
Deuteranopia (green-blind)
#344D7E
Tritanopia (blue-blind)
#7D304E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a2080;
/* rgb */ color: rgb(122, 32, 128);
/* oklch */ color: oklch(42.9% 0.168 325.3);
Tailwind
colors: {
  custom: {
    50: '#a466a5',
    500: '#7a2080',
    950: '#000000',
  },
}
SCSS
$custom: #7a2080;
$custom-light: #a466a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2080",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 128
  },
  "hsl": {
    "h": 296.25,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42875,
    "c": 0.16757,
    "h": 325.3
  },
  "luminance": 0.06729
}

Semantic roles & 50–950 ramp

primary
#7A2080
secondary
#50B349
accent
#E3454F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7A2080

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

Preview Lab → · Contrast checker → · Palette generator →

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