#7A1E77#7A1E77

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

Color values

HEX#7A1E77
RGBrgb(122, 30, 119)
HSLhsl(302, 61%, 30%)
HSVhsv(302, 75%, 48%)
CMYKcmyk(0%, 75.4%, 2.5%, 52.2%)
CIE-LABlab(30.40, 49.58, -29.90)
CIE-LCHlch(30.40, 57.90, 328.91°)
OKLaboklab(42.14% 0.1398 -0.0826)
OKLCHoklch(42.14% 0.162 329.4)
XYZxyz(11.8200, 6.3989, 18.0618)
Luminance0.0640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E77 #1E7A21
analogous
#4F1E7A #7A1E77 #7A1E49
triadic
#7A1E77 #777A1E #1E777A
tetradic
#7A1E77 #7A4F1E #1E7A21 #1E497A
square
#7A1E77 #7A4F1E #1E7A21 #1E497A
split-complementary
#7A1E77 #497A1E #1E7A4F
monochromatic
#190618 #491247 #7A1E77 #AB2AA7 #D042CC

Accessibility & contrast

On white

9.21
#7A1E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7A1E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1E77
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1E77#FFFFFF#000000##FFFFFF
##7A1E771.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114079
Deuteranopia (green-blind)
#394C75
Tritanopia (blue-blind)
#7E2B49
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7a1e77;
/* rgb */ color: rgb(122, 30, 119);
/* oklch */ color: oklch(42.1% 0.162 329.4);
Tailwind
colors: {
  custom: {
    50: '#a4649e',
    500: '#7a1e77',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e77;
$custom-light: #a4649e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e77",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 119
  },
  "hsl": {
    "h": 301.957,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42139,
    "c": 0.16237,
    "h": 329.4
  },
  "luminance": 0.06398
}

Semantic roles & 50–950 ramp

primary
#7A1E77
secondary
#46AE4A
accent
#E44944
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A1E77

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

Preview Lab → · Contrast checker → · Palette generator →

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