#7A1A94#7A1A94

#7A1A94 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.8% C 0.191 H 317.6°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#7A1A94
RGBrgb(122, 26, 148)
HSLhsl(287, 70%, 34%)
HSVhsv(287, 82%, 58%)
CMYKcmyk(17.6%, 82.4%, 0%, 42%)
CIE-LABlab(31.84, 56.20, -45.66)
CIE-LCHlch(31.84, 72.41, 320.91°)
OKLaboklab(43.77% 0.1408 -0.1286)
OKLCHoklch(43.77% 0.191 317.6)
XYZxyz(13.7400, 7.0151, 28.6415)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1A94 #34941A
analogous
#3D1A94 #7A1A94 #941A71
triadic
#7A1A94 #947A1A #1A947A
tetradic
#7A1A94 #943D1A #34941A #1A7194
square
#7A1A94 #943D1A #34941A #1A7194
split-complementary
#7A1A94 #71941A #1A943D
monochromatic
#24082C #4F1160 #7A1A94 #A523C8 #BF49DF

Accessibility & contrast

On white

8.74
#7A1A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7A1A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1A94
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1A94#FFFFFF#000000##FFFFFF
##7A1A941.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#1E4E91
Tritanopia (blue-blind)
#793758
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7a1a94;
/* rgb */ color: rgb(122, 26, 148);
/* oklch */ color: oklch(43.8% 0.191 317.6);
Tailwind
colors: {
  custom: {
    50: '#a564b4',
    500: '#7a1a94',
    950: '#000000',
  },
}
SCSS
$custom: #7a1a94;
$custom-light: #a564b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1a94",
  "rgb": {
    "r": 122,
    "g": 26,
    "b": 148
  },
  "hsl": {
    "h": 287.213,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43767,
    "c": 0.19071,
    "h": 317.6
  },
  "luminance": 0.07014
}

Semantic roles & 50–950 ramp

primary
#7A1A94
secondary
#63C149
accent
#ED3B61
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7A1A94

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

Preview Lab → · Contrast checker → · Palette generator →

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