#7A2091#7A2091

#7A2091 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.182 H 318.4°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#7A2091
RGBrgb(122, 32, 145)
HSLhsl(288, 64%, 35%)
HSVhsv(288, 78%, 57%)
CMYKcmyk(15.9%, 77.9%, 0%, 43.1%)
CIE-LABlab(32.29, 53.70, -43.09)
CIE-LCHlch(32.29, 68.85, 321.25°)
OKLaboklab(44.02% 0.1363 -0.1211)
OKLCHoklch(44.02% 0.182 318.4)
XYZxyz(13.6527, 7.2156, 27.4562)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2091 #379120
analogous
#422091 #7A2091 #91206F
triadic
#7A2091 #917A20 #20917A
tetradic
#7A2091 #914220 #379120 #206F91
square
#7A2091 #914220 #379120 #206F91
split-complementary
#7A2091 #6F9120 #209142
monochromatic
#260A2D #50155F #7A2091 #A42BC3 #BE52D9

Accessibility & contrast

On white

8.60
#7A2091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7A2091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2091
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2091#FFFFFF#000000##FFFFFF
##7A20911.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004694
Deuteranopia (green-blind)
#264F8F
Tritanopia (blue-blind)
#793858
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a2091;
/* rgb */ color: rgb(122, 32, 145);
/* oklch */ color: oklch(44.0% 0.182 318.4);
Tailwind
colors: {
  custom: {
    50: '#a466b2',
    500: '#7a2091',
    950: '#000000',
  },
}
SCSS
$custom: #7a2091;
$custom-light: #a466b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2091",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 145
  },
  "hsl": {
    "h": 287.788,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44018,
    "c": 0.18235,
    "h": 318.4
  },
  "luminance": 0.07215
}

Semantic roles & 50–950 ramp

primary
#7A2091
secondary
#66BC51
accent
#E74163
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7A2091

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

Preview Lab → · Contrast checker → · Palette generator →

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