#7A2492#7A2492

#7A2492 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.4% C 0.179 H 317.7°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#7A2492
RGBrgb(122, 36, 146)
HSLhsl(287, 60%, 36%)
HSVhsv(287, 75%, 57%)
CMYKcmyk(16.4%, 75.3%, 0%, 42.7%)
CIE-LABlab(32.87, 52.45, -42.78)
CIE-LCHlch(32.87, 67.69, 320.80°)
OKLaboklab(44.45% 0.1324 -0.1203)
OKLCHoklch(44.45% 0.179 317.7)
XYZxyz(13.8445, 7.4753, 27.9022)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2492 #3C9224
analogous
#432492 #7A2492 #922473
triadic
#7A2492 #927A24 #24927A
tetradic
#7A2492 #924324 #3C9224 #247392
square
#7A2492 #924324 #3C9224 #247392
split-complementary
#7A2492 #739224 #249243
monochromatic
#280C30 #511861 #7A2492 #A330C3 #BB5AD6

Accessibility & contrast

On white

8.42
#7A2492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7A2492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2492
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2492#FFFFFF#000000##FFFFFF
##7A24921.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004895
Deuteranopia (green-blind)
#285090
Tritanopia (blue-blind)
#793B59
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a2492;
/* rgb */ color: rgb(122, 36, 146);
/* oklch */ color: oklch(44.4% 0.179 317.7);
Tailwind
colors: {
  custom: {
    50: '#a468b3',
    500: '#7a2492',
    950: '#000000',
  },
}
SCSS
$custom: #7a2492;
$custom-light: #a468b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2492",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 286.909,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44446,
    "c": 0.17888,
    "h": 317.7
  },
  "luminance": 0.07475
}

Semantic roles & 50–950 ramp

primary
#7A2492
secondary
#6DBB57
accent
#E44467
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7A2492

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

Preview Lab → · Contrast checker → · Palette generator →

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