#7A1B76#7A1B76

#7A1B76 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.165 H 329.9°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#7A1B76
RGBrgb(122, 27, 118)
HSLhsl(303, 64%, 29%)
HSVhsv(303, 78%, 48%)
CMYKcmyk(0%, 77.9%, 3.3%, 52.2%)
CIE-LABlab(29.99, 50.42, -29.91)
CIE-LCHlch(29.99, 58.63, 329.32°)
OKLaboklab(41.83% 0.1427 -0.0826)
OKLCHoklch(41.83% 0.165 329.9)
XYZxyz(11.6879, 6.2304, 17.7230)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1B76 #1B7A1F
analogous
#4F1B7A #7A1B76 #7A1B47
triadic
#7A1B76 #767A1B #1B767A
tetradic
#7A1B76 #7A4F1B #1B7A1F #1B477A
square
#7A1B76 #7A4F1B #1B7A1F #1B477A
split-complementary
#7A1B76 #477A1B #1B7A4F
monochromatic
#190618 #481046 #7A1B76 #AC26A6 #D43CCD

Accessibility & contrast

On white

9.35
#7A1B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1B76
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1B76#FFFFFF#000000##FFFFFF
##7A1B761.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3E78
Deuteranopia (green-blind)
#384B74
Tritanopia (blue-blind)
#7F2847
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a1b76;
/* rgb */ color: rgb(122, 27, 118);
/* oklch */ color: oklch(41.8% 0.165 329.9);
Tailwind
colors: {
  custom: {
    50: '#a4639e',
    500: '#7a1b76',
    950: '#000000',
  },
}
SCSS
$custom: #7a1b76;
$custom-light: #a4639e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1b76",
  "rgb": {
    "r": 122,
    "g": 27,
    "b": 118
  },
  "hsl": {
    "h": 302.526,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41826,
    "c": 0.16487,
    "h": 329.9
  },
  "luminance": 0.06229
}

Semantic roles & 50–950 ramp

primary
#7A1B76
secondary
#43AE47
accent
#E74841
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A1B76

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

Preview Lab → · Contrast checker → · Palette generator →

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