#7A1A83#7A1A83

#7A1A83 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.6% C 0.176 H 324.2°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#7A1A83
RGBrgb(122, 26, 131)
HSLhsl(295, 67%, 31%)
HSVhsv(295, 80%, 51%)
CMYKcmyk(6.9%, 80.2%, 0%, 48.6%)
CIE-LABlab(30.68, 53.01, -37.00)
CIE-LCHlch(30.68, 64.65, 325.09°)
OKLaboklab(42.58% 0.143 -0.1033)
OKLCHoklch(42.58% 0.176 324.2)
XYZxyz(12.4918, 6.5159, 22.0681)
Luminance0.0651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1A83 #23831A
analogous
#451A83 #7A1A83 #831A57
triadic
#7A1A83 #837A1A #1A837A
tetradic
#7A1A83 #83451A #23831A #1A5783
square
#7A1A83 #83451A #23831A #1A5783
split-complementary
#7A1A83 #57831A #1A8345
monochromatic
#1B061D #4A1050 #7A1A83 #AA24B6 #CC3FD9

Accessibility & contrast

On white

9.12
#7A1A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7A1A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1A83
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1A83#FFFFFF#000000##FFFFFF
##7A1A831.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004186
Deuteranopia (green-blind)
#2F4C81
Tritanopia (blue-blind)
#7C2E4E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7a1a83;
/* rgb */ color: rgb(122, 26, 131);
/* oklch */ color: oklch(42.6% 0.176 324.2);
Tailwind
colors: {
  custom: {
    50: '#a463a7',
    500: '#7a1a83',
    950: '#000000',
  },
}
SCSS
$custom: #7a1a83;
$custom-light: #a463a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1a83",
  "rgb": {
    "r": 122,
    "g": 26,
    "b": 131
  },
  "hsl": {
    "h": 294.857,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42576,
    "c": 0.17643,
    "h": 324.2
  },
  "luminance": 0.06515
}

Semantic roles & 50–950 ramp

primary
#7A1A83
secondary
#4CB742
accent
#EA3E4D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7A1A83

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

Preview Lab → · Contrast checker → · Palette generator →

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