#7A1A87#7A1A87

#7A1A87 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.8% C 0.180 H 322.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#7A1A87
RGBrgb(122, 26, 135)
HSLhsl(293, 68%, 32%)
HSVhsv(293, 81%, 53%)
CMYKcmyk(9.6%, 80.7%, 0%, 47.1%)
CIE-LABlab(30.94, 53.74, -39.08)
CIE-LCHlch(30.94, 66.45, 323.98°)
OKLaboklab(42.85% 0.1427 -0.1093)
OKLCHoklch(42.85% 0.18 322.5)
XYZxyz(12.7682, 6.6264, 23.5235)
Luminance0.0663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1A87 #27871A
analogous
#441A87 #7A1A87 #871A5E
triadic
#7A1A87 #877A1A #1A877A
tetradic
#7A1A87 #87441A #27871A #1A5E87
square
#7A1A87 #87441A #27871A #1A5E87
split-complementary
#7A1A87 #5E871A #1A8744
monochromatic
#1D0620 #4C1054 #7A1A87 #A824BA #C841DA

Accessibility & contrast

On white

9.03
#7A1A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7A1A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1A87
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1A87#FFFFFF#000000##FFFFFF
##7A1A871.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#2C4C85
Tritanopia (blue-blind)
#7C3051
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a1a87;
/* rgb */ color: rgb(122, 26, 135);
/* oklch */ color: oklch(42.8% 0.180 322.5);
Tailwind
colors: {
  custom: {
    50: '#a463aa',
    500: '#7a1a87',
    950: '#000000',
  },
}
SCSS
$custom: #7a1a87;
$custom-light: #a463aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1a87",
  "rgb": {
    "r": 122,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 292.844,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42846,
    "c": 0.17973,
    "h": 322.5
  },
  "luminance": 0.06626
}

Semantic roles & 50–950 ramp

primary
#7A1A87
secondary
#51BA42
accent
#EB3D52
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A1A87

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

Preview Lab → · Contrast checker → · Palette generator →

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