#7A1E71#7A1E71

#7A1E71 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.8% C 0.158 H 332.3°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#7A1E71
RGBrgb(122, 30, 113)
HSLhsl(306, 61%, 30%)
HSVhsv(306, 75%, 48%)
CMYKcmyk(0%, 75.4%, 7.4%, 52.2%)
CIE-LABlab(30.06, 48.57, -26.62)
CIE-LCHlch(30.06, 55.38, 331.27°)
OKLaboklab(41.79% 0.1396 -0.0732)
OKLCHoklch(41.79% 0.158 332.3)
XYZxyz(11.4710, 6.2593, 16.2236)
Luminance0.0626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E71 #1E7A27
analogous
#551E7A #7A1E71 #7A1E43
triadic
#7A1E71 #717A1E #1E717A
tetradic
#7A1E71 #7A551E #1E7A27 #1E437A
square
#7A1E71 #7A551E #1E7A27 #1E437A
split-complementary
#7A1E71 #437A1E #1E7A55
monochromatic
#190617 #491244 #7A1E71 #AB2A9E #D042C3

Accessibility & contrast

On white

9.33
#7A1E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7A1E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1E71
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1E71#FFFFFF#000000##FFFFFF
##7A1E711.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193E73
Deuteranopia (green-blind)
#3C4B6F
Tritanopia (blue-blind)
#7F2845
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a1e71;
/* rgb */ color: rgb(122, 30, 113);
/* oklch */ color: oklch(41.8% 0.158 332.3);
Tailwind
colors: {
  custom: {
    50: '#a4649a',
    500: '#7a1e71',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e71;
$custom-light: #a4649a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e71",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 305.87,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41785,
    "c": 0.15758,
    "h": 332.3
  },
  "luminance": 0.06258
}

Semantic roles & 50–950 ramp

primary
#7A1E71
secondary
#46AE50
accent
#E45444
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A1E71

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

Preview Lab → · Contrast checker → · Palette generator →

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