#7A1E76#7A1E76

#7A1E76 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.162 H 329.9°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#7A1E76
RGBrgb(122, 30, 118)
HSLhsl(303, 61%, 30%)
HSVhsv(303, 75%, 48%)
CMYKcmyk(0%, 75.4%, 3.3%, 52.2%)
CIE-LABlab(30.34, 49.41, -29.35)
CIE-LCHlch(30.34, 57.47, 329.29°)
OKLaboklab(42.08% 0.1398 -0.081)
OKLCHoklch(42.08% 0.162 329.9)
XYZxyz(11.7603, 6.3750, 17.7471)
Luminance0.0637 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E76 #1E7A22
analogous
#501E7A #7A1E76 #7A1E48
triadic
#7A1E76 #767A1E #1E767A
tetradic
#7A1E76 #7A501E #1E7A22 #1E487A
square
#7A1E76 #7A501E #1E7A22 #1E487A
split-complementary
#7A1E76 #487A1E #1E7A50
monochromatic
#190618 #491246 #7A1E76 #AB2AA6 #D042CA

Accessibility & contrast

On white

9.23
#7A1E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7A1E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1E76
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1E76#FFFFFF#000000##FFFFFF
##7A1E761.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123F78
Deuteranopia (green-blind)
#394C74
Tritanopia (blue-blind)
#7F2A48
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a1e76;
/* rgb */ color: rgb(122, 30, 118);
/* oklch */ color: oklch(42.1% 0.162 329.9);
Tailwind
colors: {
  custom: {
    50: '#a4649e',
    500: '#7a1e76',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e76;
$custom-light: #a4649e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e76",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 118
  },
  "hsl": {
    "h": 302.609,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42079,
    "c": 0.16156,
    "h": 329.9
  },
  "luminance": 0.06374
}

Semantic roles & 50–950 ramp

primary
#7A1E76
secondary
#46AE4B
accent
#E44B44
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A1E76

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

Preview Lab → · Contrast checker → · Palette generator →

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