#7A1A85#7A1A85

#7A1A85 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.178 H 323.3°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#7A1A85
RGBrgb(122, 26, 133)
HSLhsl(294, 67%, 31%)
HSVhsv(294, 80%, 52%)
CMYKcmyk(8.3%, 80.5%, 0%, 47.8%)
CIE-LABlab(30.81, 53.38, -38.04)
CIE-LCHlch(30.81, 65.55, 324.52°)
OKLaboklab(42.71% 0.1429 -0.1063)
OKLCHoklch(42.71% 0.178 323.3)
XYZxyz(12.6287, 6.5706, 22.7888)
Luminance0.0657 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1A85 #25851A
analogous
#441A85 #7A1A85 #851A5A
triadic
#7A1A85 #857A1A #1A857A
tetradic
#7A1A85 #85441A #25851A #1A5A85
square
#7A1A85 #85441A #25851A #1A5A85
split-complementary
#7A1A85 #5A851A #1A8544
monochromatic
#1C061F #4B1052 #7A1A85 #A924B8 #CA40DA

Accessibility & contrast

On white

9.08
#7A1A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7A1A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1A85
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1A85#FFFFFF#000000##FFFFFF
##7A1A851.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#2E4C83
Tritanopia (blue-blind)
#7C2F50
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7a1a85;
/* rgb */ color: rgb(122, 26, 133);
/* oklch */ color: oklch(42.7% 0.178 323.3);
Tailwind
colors: {
  custom: {
    50: '#a463a9',
    500: '#7a1a85',
    950: '#000000',
  },
}
SCSS
$custom: #7a1a85;
$custom-light: #a463a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1a85",
  "rgb": {
    "r": 122,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 293.832,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4271,
    "c": 0.17808,
    "h": 323.3
  },
  "luminance": 0.0657
}

Semantic roles & 50–950 ramp

primary
#7A1A85
secondary
#4EB842
accent
#EA3E4F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A1A85

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

Preview Lab → · Contrast checker → · Palette generator →

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