#7A2282#7A2282

#7A2282 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.167 H 324.3°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#7A2282
RGBrgb(122, 34, 130)
HSLhsl(295, 59%, 32%)
HSVhsv(295, 74%, 51%)
CMYKcmyk(6.2%, 73.8%, 0%, 49%)
CIE-LABlab(31.56, 50.11, -34.96)
CIE-LCHlch(31.56, 61.10, 325.10°)
OKLaboklab(43.19% 0.1356 -0.0974)
OKLCHoklch(43.19% 0.167 324.3)
XYZxyz(12.6270, 6.8941, 21.7804)
Luminance0.0689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2282 #2A8222
analogous
#4A2282 #7A2282 #82225A
triadic
#7A2282 #827A22 #22827A
tetradic
#7A2282 #824A22 #2A8222 #225A82
square
#7A2282 #824A22 #2A8222 #225A82
split-complementary
#7A2282 #5A8222 #22824A
monochromatic
#1F0921 #4C1551 #7A2282 #A82FB3 #C64ED1

Accessibility & contrast

On white

8.83
#7A2282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7A2282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2282
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2282#FFFFFF#000000##FFFFFF
##7A22821.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024485
Deuteranopia (green-blind)
#344E80
Tritanopia (blue-blind)
#7C3350
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a2282;
/* rgb */ color: rgb(122, 34, 130);
/* oklch */ color: oklch(43.2% 0.167 324.3);
Tailwind
colors: {
  custom: {
    50: '#a466a7',
    500: '#7a2282',
    950: '#000000',
  },
}
SCSS
$custom: #7a2282;
$custom-light: #a466a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2282",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 295,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43187,
    "c": 0.16695,
    "h": 324.3
  },
  "luminance": 0.06893
}

Semantic roles & 50–950 ramp

primary
#7A2282
secondary
#55B44C
accent
#E24653
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7A2282

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

Preview Lab → · Contrast checker → · Palette generator →

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