#7A1C71#7A1C71

#7A1C71 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.6% C 0.160 H 332.3°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#7A1C71
RGBrgb(122, 28, 113)
HSLhsl(306, 63%, 29%)
HSVhsv(306, 77%, 48%)
CMYKcmyk(0%, 77%, 7.4%, 52.2%)
CIE-LABlab(29.82, 49.26, -27.00)
CIE-LCHlch(29.82, 56.17, 331.27°)
OKLaboklab(41.61% 0.1416 -0.0742)
OKLCHoklch(41.61% 0.16 332.3)
XYZxyz(11.4220, 6.1613, 16.2073)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1C71 #1C7A25
analogous
#541C7A #7A1C71 #7A1C42
triadic
#7A1C71 #717A1C #1C717A
tetradic
#7A1C71 #7A541C #1C7A25 #1C427A
square
#7A1C71 #7A541C #1C7A25 #1C427A
split-complementary
#7A1C71 #427A1C #1C7A54
monochromatic
#190617 #481143 #7A1C71 #AC279F #D33EC4

Accessibility & contrast

On white

9.41
#7A1C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7A1C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1C71
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1C71#FFFFFF#000000##FFFFFF
##7A1C711.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163E73
Deuteranopia (green-blind)
#3B4B6F
Tritanopia (blue-blind)
#7F2745
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a1c71;
/* rgb */ color: rgb(122, 28, 113);
/* oklch */ color: oklch(41.6% 0.160 332.3);
Tailwind
colors: {
  custom: {
    50: '#a4639a',
    500: '#7a1c71',
    950: '#000000',
  },
}
SCSS
$custom: #7a1c71;
$custom-light: #a4639a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1c71",
  "rgb": {
    "r": 122,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 305.745,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41612,
    "c": 0.15986,
    "h": 332.3
  },
  "luminance": 0.0616
}

Semantic roles & 50–950 ramp

primary
#7A1C71
secondary
#44AE4E
accent
#E65242
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A1C71

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

Preview Lab → · Contrast checker → · Palette generator →

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