#7A2382#7A2382

#7A2382 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.3% C 0.166 H 324.3°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#7A2382
RGBrgb(122, 35, 130)
HSLhsl(295, 58%, 32%)
HSVhsv(295, 73%, 51%)
CMYKcmyk(6.2%, 73.1%, 0%, 49%)
CIE-LABlab(31.70, 49.73, -34.75)
CIE-LCHlch(31.70, 60.67, 325.06°)
OKLaboklab(43.28% 0.1346 -0.0968)
OKLCHoklch(43.28% 0.166 324.3)
XYZxyz(12.6560, 6.9521, 21.7900)
Luminance0.0695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2382 #2B8223
analogous
#4A2382 #7A2382 #82235B
triadic
#7A2382 #827A23 #23827A
tetradic
#7A2382 #824A23 #2B8223 #235B82
square
#7A2382 #824A23 #2B8223 #235B82
split-complementary
#7A2382 #5B8223 #23824A
monochromatic
#1F0922 #4D1652 #7A2382 #A730B2 #C550D0

Accessibility & contrast

On white

8.79
#7A2382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7A2382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2382
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2382#FFFFFF#000000##FFFFFF
##7A23821.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054485
Deuteranopia (green-blind)
#354E80
Tritanopia (blue-blind)
#7C3350
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7a2382;
/* rgb */ color: rgb(122, 35, 130);
/* oklch */ color: oklch(43.3% 0.166 324.3);
Tailwind
colors: {
  custom: {
    50: '#a467a7',
    500: '#7a2382',
    950: '#000000',
  },
}
SCSS
$custom: #7a2382;
$custom-light: #a467a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2382",
  "rgb": {
    "r": 122,
    "g": 35,
    "b": 130
  },
  "hsl": {
    "h": 294.947,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43282,
    "c": 0.16575,
    "h": 324.3
  },
  "luminance": 0.06951
}

Semantic roles & 50–950 ramp

primary
#7A2382
secondary
#56B34D
accent
#E14754
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7A2382

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

Preview Lab → · Contrast checker → · Palette generator →

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