#7A2491#7A2491

#7A2491 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.178 H 318.1°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#7A2491
RGBrgb(122, 36, 145)
HSLhsl(287, 60%, 35%)
HSVhsv(287, 75%, 57%)
CMYKcmyk(15.9%, 75.2%, 0%, 43.1%)
CIE-LABlab(32.80, 52.25, -42.28)
CIE-LCHlch(32.80, 67.21, 321.02°)
OKLaboklab(44.38% 0.1325 -0.1188)
OKLCHoklch(44.38% 0.178 318.1)
XYZxyz(13.7670, 7.4443, 27.4943)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2491 #3B9124
analogous
#432491 #7A2491 #912472
triadic
#7A2491 #917A24 #24917A
tetradic
#7A2491 #914324 #3B9124 #247291
square
#7A2491 #914324 #3B9124 #247291
split-complementary
#7A2491 #729124 #249143
monochromatic
#270C2F #511860 #7A2491 #A330C2 #BC59D6

Accessibility & contrast

On white

8.44
#7A2491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A2491
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2491#FFFFFF#000000##FFFFFF
##7A24911.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004894
Deuteranopia (green-blind)
#29508F
Tritanopia (blue-blind)
#793A59
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a2491;
/* rgb */ color: rgb(122, 36, 145);
/* oklch */ color: oklch(44.4% 0.178 318.1);
Tailwind
colors: {
  custom: {
    50: '#a468b2',
    500: '#7a2491',
    950: '#000000',
  },
}
SCSS
$custom: #7a2491;
$custom-light: #a468b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2491",
  "rgb": {
    "r": 122,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 287.339,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44376,
    "c": 0.17798,
    "h": 318.1
  },
  "luminance": 0.07444
}

Semantic roles & 50–950 ramp

primary
#7A2491
secondary
#6CBA56
accent
#E34466
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7A2491

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

Preview Lab → · Contrast checker → · Palette generator →

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