#7A1D73#7A1D73

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

Color values

HEX#7A1D73
RGBrgb(122, 29, 115)
HSLhsl(305, 62%, 30%)
HSVhsv(305, 76%, 48%)
CMYKcmyk(0%, 76.2%, 5.7%, 52.2%)
CIE-LABlab(30.05, 49.25, -27.91)
CIE-LCHlch(30.05, 56.61, 330.46°)
OKLaboklab(41.81% 0.1407 -0.0769)
OKLCHoklch(41.81% 0.16 331.3)
XYZxyz(11.5599, 6.2550, 16.8148)
Luminance0.0625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1D73 #1D7A24
analogous
#531D7A #7A1D73 #7A1D45
triadic
#7A1D73 #737A1D #1D737A
tetradic
#7A1D73 #7A531D #1D7A24 #1D457A
square
#7A1D73 #7A531D #1D7A24 #1D457A
split-complementary
#7A1D73 #457A1D #1D7A53
monochromatic
#190617 #491144 #7A1D73 #AB29A2 #D240C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A1D73#FFFFFF#000000##FFFFFF
##7A1D731.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)
#153F75
Deuteranopia (green-blind)
#3A4B71
Tritanopia (blue-blind)
#7F2846
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a1d73;
/* rgb */ color: rgb(122, 29, 115);
/* oklch */ color: oklch(41.8% 0.160 331.3);
Tailwind
colors: {
  custom: {
    50: '#a4649b',
    500: '#7a1d73',
    950: '#000000',
  },
}
SCSS
$custom: #7a1d73;
$custom-light: #a4649b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1d73",
  "rgb": {
    "r": 122,
    "g": 29,
    "b": 115
  },
  "hsl": {
    "h": 304.516,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41814,
    "c": 0.1603,
    "h": 331.3
  },
  "luminance": 0.06254
}

Semantic roles & 50–950 ramp

primary
#7A1D73
secondary
#45AE4D
accent
#E54F43
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A1D73

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

Preview Lab → · Contrast checker → · Palette generator →

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