#7A2280#7A2280

#7A2280 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.165 H 325.2°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#7A2280
RGBrgb(122, 34, 128)
HSLhsl(296, 58%, 32%)
HSVhsv(296, 73%, 50%)
CMYKcmyk(4.7%, 73.4%, 0%, 49.8%)
CIE-LABlab(31.44, 49.74, -33.90)
CIE-LCHlch(31.44, 60.19, 325.72°)
OKLaboklab(43.06% 0.1357 -0.0943)
OKLCHoklch(43.06% 0.165 325.2)
XYZxyz(12.4941, 6.8409, 21.0802)
Luminance0.0684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2280 #288022
analogous
#4B2280 #7A2280 #802257
triadic
#7A2280 #807A22 #22807A
tetradic
#7A2280 #804B22 #288022 #225780
square
#7A2280 #804B22 #288022 #225780
split-complementary
#7A2280 #578022 #22804B
monochromatic
#1E081F #4C1550 #7A2280 #A82FB0 #C74DD0

Accessibility & contrast

On white

8.87
#7A2280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7A2280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2280
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2280#FFFFFF#000000##FFFFFF
##7A22801.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074383
Deuteranopia (green-blind)
#354E7E
Tritanopia (blue-blind)
#7D324F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a2280;
/* rgb */ color: rgb(122, 34, 128);
/* oklch */ color: oklch(43.1% 0.165 325.2);
Tailwind
colors: {
  custom: {
    50: '#a466a5',
    500: '#7a2280',
    950: '#000000',
  },
}
SCSS
$custom: #7a2280;
$custom-light: #a466a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2280",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 296.17,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4306,
    "c": 0.16522,
    "h": 325.2
  },
  "luminance": 0.0684
}

Semantic roles & 50–950 ramp

primary
#7A2280
secondary
#52B24B
accent
#E14750
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7A2280

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

Preview Lab → · Contrast checker → · Palette generator →

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