#7A2484#7A2484

#7A2484 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.5% C 0.166 H 323.4°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#7A2484
RGBrgb(122, 36, 132)
HSLhsl(294, 57%, 33%)
HSVhsv(294, 73%, 52%)
CMYKcmyk(7.6%, 72.7%, 0%, 48.2%)
CIE-LABlab(31.96, 49.72, -35.58)
CIE-LCHlch(31.96, 61.14, 324.41°)
OKLaboklab(43.51% 0.1335 -0.0992)
OKLCHoklch(43.51% 0.166 323.4)
XYZxyz(12.8214, 7.0660, 22.5139)
Luminance0.0707 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2484 #2E8424
analogous
#4A2484 #7A2484 #84245E
triadic
#7A2484 #847A24 #24847A
tetradic
#7A2484 #844A24 #2E8424 #245E84
square
#7A2484 #844A24 #2E8424 #245E84
split-complementary
#7A2484 #5E8424 #24844A
monochromatic
#210A24 #4E1754 #7A2484 #A631B4 #C352D0

Accessibility & contrast

On white

8.70
#7A2484 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7A2484 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2484
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2484#FFFFFF#000000##FFFFFF
##7A24841.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034587
Deuteranopia (green-blind)
#344F82
Tritanopia (blue-blind)
#7C3551
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7a2484;
/* rgb */ color: rgb(122, 36, 132);
/* oklch */ color: oklch(43.5% 0.166 323.4);
Tailwind
colors: {
  custom: {
    50: '#a467a8',
    500: '#7a2484',
    950: '#000000',
  },
}
SCSS
$custom: #7a2484;
$custom-light: #a467a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2484",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 132
  },
  "hsl": {
    "h": 293.75,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43507,
    "c": 0.1663,
    "h": 323.4
  },
  "luminance": 0.07065
}

Semantic roles & 50–950 ramp

primary
#7A2484
secondary
#5AB450
accent
#E04757
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A2484

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

Preview Lab → · Contrast checker → · Palette generator →

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