#7A1C8A#7A1C8A

#7A1C8A is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.2% C 0.180 H 321.3°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#7A1C8A
RGBrgb(122, 28, 138)
HSLhsl(291, 66%, 33%)
HSVhsv(291, 80%, 54%)
CMYKcmyk(11.6%, 79.7%, 0%, 45.9%)
CIE-LABlab(31.36, 53.68, -40.27)
CIE-LCHlch(31.36, 67.11, 323.12°)
OKLaboklab(43.2% 0.1407 -0.1129)
OKLCHoklch(43.2% 0.18 321.3)
XYZxyz(13.0282, 6.8038, 24.6669)
Luminance0.0680 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1C8A #2C8A1C
analogous
#431C8A #7A1C8A #8A1C63
triadic
#7A1C8A #8A7A1C #1C8A7A
tetradic
#7A1C8A #8A431C #2C8A1C #1C638A
square
#7A1C8A #8A431C #2C8A1C #1C638A
split-complementary
#7A1C8A #638A1C #1C8A43
monochromatic
#200724 #4D1257 #7A1C8A #A726BD #C447DA

Accessibility & contrast

On white

8.90
#7A1C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7A1C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1C8A
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1C8A#FFFFFF#000000##FFFFFF
##7A1C8A1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#2A4D88
Tritanopia (blue-blind)
#7B3353
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a1c8a;
/* rgb */ color: rgb(122, 28, 138);
/* oklch */ color: oklch(43.2% 0.180 321.3);
Tailwind
colors: {
  custom: {
    50: '#a464ad',
    500: '#7a1c8a',
    950: '#000000',
  },
}
SCSS
$custom: #7a1c8a;
$custom-light: #a464ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1c8a",
  "rgb": {
    "r": 122,
    "g": 28,
    "b": 138
  },
  "hsl": {
    "h": 291.273,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43204,
    "c": 0.18033,
    "h": 321.3
  },
  "luminance": 0.06803
}

Semantic roles & 50–950 ramp

primary
#7A1C8A
secondary
#57BB46
accent
#E93F57
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A1C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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