#7A1DA1#7A1DA1

#7A1DA1 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 45.0% C 0.199 H 313.0°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#7A1DA1
RGBrgb(122, 29, 161)
HSLhsl(282, 69%, 37%)
HSVhsv(282, 82%, 63%)
CMYKcmyk(24.2%, 82%, 0%, 36.9%)
CIE-LABlab(33.11, 57.89, -51.53)
CIE-LCHlch(33.11, 77.50, 318.33°)
OKLaboklab(44.96% 0.1359 -0.1459)
OKLCHoklch(44.96% 0.199 313)
XYZxyz(14.8973, 7.5900, 34.3916)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1DA1 #44A11D
analogous
#381DA1 #7A1DA1 #A11D86
triadic
#7A1DA1 #A17A1D #1DA17A
tetradic
#7A1DA1 #A1381D #44A11D #1D86A1
square
#7A1DA1 #A1381D #44A11D #1D86A1
split-complementary
#7A1DA1 #86A11D #1DA138
monochromatic
#2B0A39 #53146D #7A1DA1 #A126D5 #B858E1

Accessibility & contrast

On white

8.34
#7A1DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7A1DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1DA1
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1DA1#FFFFFF#000000##FFFFFF
##7A1DA11.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A4
Deuteranopia (green-blind)
#03509E
Tritanopia (blue-blind)
#763E60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7a1da1;
/* rgb */ color: rgb(122, 29, 161);
/* oklch */ color: oklch(45.0% 0.199 313.0);
Tailwind
colors: {
  custom: {
    50: '#a566be',
    500: '#7a1da1',
    950: '#000000',
  },
}
SCSS
$custom: #7a1da1;
$custom-light: #a566be;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1da1",
  "rgb": {
    "r": 122,
    "g": 29,
    "b": 161
  },
  "hsl": {
    "h": 282.273,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44962,
    "c": 0.19937,
    "h": 313
  },
  "luminance": 0.0759
}

Semantic roles & 50–950 ramp

primary
#7A1DA1
secondary
#76C455
accent
#EC3C70
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7A1DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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