#7A1E73#7A1E73

#7A1E73 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.159 H 331.3°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#7A1E73
RGBrgb(122, 30, 115)
HSLhsl(305, 61%, 30%)
HSVhsv(305, 75%, 48%)
CMYKcmyk(0%, 75.4%, 5.7%, 52.2%)
CIE-LABlab(30.17, 48.90, -27.72)
CIE-LCHlch(30.17, 56.21, 330.46°)
OKLaboklab(41.9% 0.1397 -0.0763)
OKLCHoklch(41.9% 0.159 331.3)
XYZxyz(11.5848, 6.3049, 16.8231)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E73 #1E7A25
analogous
#531E7A #7A1E73 #7A1E45
triadic
#7A1E73 #737A1E #1E737A
tetradic
#7A1E73 #7A531E #1E7A25 #1E457A
square
#7A1E73 #7A531E #1E7A25 #1E457A
split-complementary
#7A1E73 #457A1E #1E7A53
monochromatic
#190617 #491245 #7A1E73 #AB2AA1 #D042C6

Accessibility & contrast

On white

9.29
#7A1E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7A1E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1E73
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1E73#FFFFFF#000000##FFFFFF
##7A1E731.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163F75
Deuteranopia (green-blind)
#3B4C71
Tritanopia (blue-blind)
#7F2946
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a1e73;
/* rgb */ color: rgb(122, 30, 115);
/* oklch */ color: oklch(41.9% 0.159 331.3);
Tailwind
colors: {
  custom: {
    50: '#a4649b',
    500: '#7a1e73',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e73;
$custom-light: #a4649b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e73",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 115
  },
  "hsl": {
    "h": 304.565,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41901,
    "c": 0.15916,
    "h": 331.3
  },
  "luminance": 0.06304
}

Semantic roles & 50–950 ramp

primary
#7A1E73
secondary
#46AE4E
accent
#E45044
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A1E73

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

Preview Lab → · Contrast checker → · Palette generator →

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