#7A2191#7A2191

#7A2191 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.181 H 318.3°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#7A2191
RGBrgb(122, 33, 145)
HSLhsl(288, 63%, 35%)
HSVhsv(288, 77%, 57%)
CMYKcmyk(15.9%, 77.2%, 0%, 43.1%)
CIE-LABlab(32.41, 53.35, -42.90)
CIE-LCHlch(32.41, 68.45, 321.20°)
OKLaboklab(44.1% 0.1354 -0.1206)
OKLCHoklch(44.1% 0.181 318.3)
XYZxyz(13.6800, 7.2703, 27.4653)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2191 #389121
analogous
#422191 #7A2191 #912170
triadic
#7A2191 #917A21 #21917A
tetradic
#7A2191 #914221 #389121 #217091
square
#7A2191 #914221 #389121 #217091
split-complementary
#7A2191 #709121 #219142
monochromatic
#260A2D #50165F #7A2191 #A42CC3 #BD54D8

Accessibility & contrast

On white

8.56
#7A2191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7A2191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2191
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2191#FFFFFF#000000##FFFFFF
##7A21911.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004794
Deuteranopia (green-blind)
#274F8F
Tritanopia (blue-blind)
#793958
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a2191;
/* rgb */ color: rgb(122, 33, 145);
/* oklch */ color: oklch(44.1% 0.181 318.3);
Tailwind
colors: {
  custom: {
    50: '#a467b2',
    500: '#7a2191',
    950: '#000000',
  },
}
SCSS
$custom: #7a2191;
$custom-light: #a467b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2191",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 145
  },
  "hsl": {
    "h": 287.679,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44104,
    "c": 0.18129,
    "h": 318.3
  },
  "luminance": 0.0727
}

Semantic roles & 50–950 ramp

primary
#7A2191
secondary
#68BC52
accent
#E64264
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7A2191

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

Preview Lab → · Contrast checker → · Palette generator →

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