#7A2190#7A2190

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

Color values

HEX#7A2190
RGBrgb(122, 33, 144)
HSLhsl(288, 63%, 35%)
HSVhsv(288, 77%, 56%)
CMYKcmyk(15.3%, 77.1%, 0%, 43.5%)
CIE-LABlab(32.35, 53.15, -42.39)
CIE-LCHlch(32.35, 67.98, 321.43°)
OKLaboklab(44.03% 0.1355 -0.1191)
OKLCHoklch(44.03% 0.18 318.7)
XYZxyz(13.6033, 7.2396, 27.0610)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2190 #379021
analogous
#422190 #7A2190 #90216F
triadic
#7A2190 #907A21 #21907A
tetradic
#7A2190 #904221 #379021 #216F90
square
#7A2190 #904221 #379021 #216F90
split-complementary
#7A2190 #6F9021 #219042
monochromatic
#260A2C #50165E #7A2190 #A42CC2 #BE54D8

Accessibility & contrast

On white

8.58
#7A2190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A2190
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2190#FFFFFF#000000##FFFFFF
##7A21901.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#284F8E
Tritanopia (blue-blind)
#7A3857
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a2190;
/* rgb */ color: rgb(122, 33, 144);
/* oklch */ color: oklch(44.0% 0.180 318.7);
Tailwind
colors: {
  custom: {
    50: '#a467b1',
    500: '#7a2190',
    950: '#000000',
  },
}
SCSS
$custom: #7a2190;
$custom-light: #a467b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2190",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 144
  },
  "hsl": {
    "h": 288.108,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44034,
    "c": 0.1804,
    "h": 318.7
  },
  "luminance": 0.07239
}

Semantic roles & 50–950 ramp

primary
#7A2190
secondary
#66BB51
accent
#E64262
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7A2190

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

Preview Lab → · Contrast checker → · Palette generator →

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