#7A1A89#7A1A89

#7A1A89 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.181 H 321.7°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#7A1A89
RGBrgb(122, 26, 137)
HSLhsl(292, 68%, 32%)
HSVhsv(292, 81%, 54%)
CMYKcmyk(10.9%, 81%, 0%, 46.3%)
CIE-LABlab(31.07, 54.11, -40.10)
CIE-LCHlch(31.07, 67.35, 323.46°)
OKLaboklab(42.98% 0.1424 -0.1124)
OKLCHoklch(42.98% 0.181 321.7)
XYZxyz(12.9103, 6.6833, 24.2720)
Luminance0.0668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1A89 #29891A
analogous
#431A89 #7A1A89 #891A61
triadic
#7A1A89 #897A1A #1A897A
tetradic
#7A1A89 #89431A #29891A #1A6189
square
#7A1A89 #89431A #29891A #1A6189
split-complementary
#7A1A89 #61891A #1A8943
monochromatic
#1E0622 #4C1056 #7A1A89 #A824BC #C742DB

Accessibility & contrast

On white

8.99
#7A1A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7A1A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1A89
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1A89#FFFFFF#000000##FFFFFF
##7A1A891.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#2A4D87
Tritanopia (blue-blind)
#7B3152
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a1a89;
/* rgb */ color: rgb(122, 26, 137);
/* oklch */ color: oklch(43.0% 0.181 321.7);
Tailwind
colors: {
  custom: {
    50: '#a464ac',
    500: '#7a1a89',
    950: '#000000',
  },
}
SCSS
$custom: #7a1a89;
$custom-light: #a464ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1a89",
  "rgb": {
    "r": 122,
    "g": 26,
    "b": 137
  },
  "hsl": {
    "h": 291.892,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42984,
    "c": 0.18141,
    "h": 321.7
  },
  "luminance": 0.06683
}

Semantic roles & 50–950 ramp

primary
#7A1A89
secondary
#53BC43
accent
#EB3D54
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A1A89

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

Preview Lab → · Contrast checker → · Palette generator →

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