#7A1E79#7A1E79

#7A1E79 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.164 H 328.5°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#7A1E79
RGBrgb(122, 30, 121)
HSLhsl(301, 61%, 30%)
HSVhsv(301, 75%, 48%)
CMYKcmyk(0%, 75.4%, 0.8%, 52.2%)
CIE-LABlab(30.51, 49.93, -30.98)
CIE-LCHlch(30.51, 58.76, 328.19°)
OKLaboklab(42.26% 0.1398 -0.0858)
OKLCHoklch(42.26% 0.164 328.5)
XYZxyz(11.9414, 6.4475, 18.7010)
Luminance0.0645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E79 #1E7A1F
analogous
#4D1E7A #7A1E79 #7A1E4B
triadic
#7A1E79 #797A1E #1E797A
tetradic
#7A1E79 #7A4D1E #1E7A1F #1E4B7A
square
#7A1E79 #7A4D1E #1E7A1F #1E4B7A
split-complementary
#7A1E79 #4B7A1E #1E7A4D
monochromatic
#190618 #491248 #7A1E79 #AB2AAA #D042CF

Accessibility & contrast

On white

9.17
#7A1E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7A1E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1E79
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1E79#FFFFFF#000000##FFFFFF
##7A1E791.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D407B
Deuteranopia (green-blind)
#384C77
Tritanopia (blue-blind)
#7E2C4A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7a1e79;
/* rgb */ color: rgb(122, 30, 121);
/* oklch */ color: oklch(42.3% 0.164 328.5);
Tailwind
colors: {
  custom: {
    50: '#a464a0',
    500: '#7a1e79',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e79;
$custom-light: #a464a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e79",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 300.652,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42261,
    "c": 0.164,
    "h": 328.5
  },
  "luminance": 0.06447
}

Semantic roles & 50–950 ramp

primary
#7A1E79
secondary
#46AE47
accent
#E44644
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7A1E79

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

Preview Lab → · Contrast checker → · Palette generator →

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