#7A1A86#7A1A86

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

Color values

HEX#7A1A86
RGBrgb(122, 26, 134)
HSLhsl(293, 68%, 31%)
HSVhsv(293, 81%, 53%)
CMYKcmyk(9%, 80.6%, 0%, 47.5%)
CIE-LABlab(30.87, 53.56, -38.56)
CIE-LCHlch(30.87, 66.00, 324.25°)
OKLaboklab(42.78% 0.1428 -0.1078)
OKLCHoklch(42.78% 0.179 322.9)
XYZxyz(12.6981, 6.5984, 23.1544)
Luminance0.0660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1A86 #26861A
analogous
#441A86 #7A1A86 #861A5C
triadic
#7A1A86 #867A1A #1A867A
tetradic
#7A1A86 #86441A #26861A #1A5C86
square
#7A1A86 #86441A #26861A #1A5C86
split-complementary
#7A1A86 #5C861A #1A8644
monochromatic
#1D061F #4B1053 #7A1A86 #A924B9 #C940DA

Accessibility & contrast

On white

9.05
#7A1A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7A1A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1A86
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1A86#FFFFFF#000000##FFFFFF
##7A1A861.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#2D4C84
Tritanopia (blue-blind)
#7C3050
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a1a86;
/* rgb */ color: rgb(122, 26, 134);
/* oklch */ color: oklch(42.8% 0.179 322.9);
Tailwind
colors: {
  custom: {
    50: '#a463aa',
    500: '#7a1a86',
    950: '#000000',
  },
}
SCSS
$custom: #7a1a86;
$custom-light: #a463aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1a86",
  "rgb": {
    "r": 122,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 293.333,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42778,
    "c": 0.17891,
    "h": 322.9
  },
  "luminance": 0.06598
}

Semantic roles & 50–950 ramp

primary
#7A1A86
secondary
#50B942
accent
#EA3D51
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A1A86

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

Preview Lab → · Contrast checker → · Palette generator →

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