#7A2499#7A2499

#7A2499 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.185 H 315.2°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#7A2499
RGBrgb(122, 36, 153)
HSLhsl(284, 62%, 37%)
HSVhsv(284, 76%, 60%)
CMYKcmyk(20.3%, 76.5%, 0%, 40%)
CIE-LABlab(33.35, 53.87, -46.29)
CIE-LCHlch(33.35, 71.02, 319.33°)
OKLaboklab(44.94% 0.1315 -0.1305)
OKLCHoklch(44.94% 0.185 315.2)
XYZxyz(14.4057, 7.6998, 30.8582)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2499 #439924
analogous
#402499 #7A2499 #99247D
triadic
#7A2499 #997A24 #24997A
tetradic
#7A2499 #994024 #439924 #247D99
square
#7A2499 #994024 #439924 #247D99
split-complementary
#7A2499 #7D9924 #249940
monochromatic
#2B0D36 #521867 #7A2499 #A230CB #B95ED9

Accessibility & contrast

On white

8.27
#7A2499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7A2499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2499
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2499#FFFFFF#000000##FFFFFF
##7A24991.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#1F5196
Tritanopia (blue-blind)
#773E5D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7a2499;
/* rgb */ color: rgb(122, 36, 153);
/* oklch */ color: oklch(44.9% 0.185 315.2);
Tailwind
colors: {
  custom: {
    50: '#a468b8',
    500: '#7a2499',
    950: '#000000',
  },
}
SCSS
$custom: #7a2499;
$custom-light: #a468b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2499",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 153
  },
  "hsl": {
    "h": 284.103,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44943,
    "c": 0.1853,
    "h": 315.2
  },
  "luminance": 0.07699
}

Semantic roles & 50–950 ramp

primary
#7A2499
secondary
#75BE5B
accent
#E5436E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7A2499

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

Preview Lab → · Contrast checker → · Palette generator →

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