#7A1681#7A1681

#7A1681 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.2% C 0.178 H 325.1°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#7A1681
RGBrgb(122, 22, 129)
HSLhsl(296, 71%, 30%)
HSVhsv(296, 83%, 51%)
CMYKcmyk(5.4%, 82.9%, 0%, 49.4%)
CIE-LABlab(30.15, 53.81, -36.59)
CIE-LCHlch(30.15, 65.07, 325.78°)
OKLaboklab(42.16% 0.1464 -0.1021)
OKLCHoklch(42.16% 0.178 325.1)
XYZxyz(12.2751, 6.2972, 21.3336)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1681 #1D8116
analogous
#451681 #7A1681 #811653
triadic
#7A1681 #817A16 #16817A
tetradic
#7A1681 #814516 #1D8116 #165381
square
#7A1681 #814516 #1D8116 #165381
split-complementary
#7A1681 #538116 #168145
monochromatic
#19041A #490D4D #7A1681 #AB1FB5 #D235DD

Accessibility & contrast

On white

9.30
#7A1681 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1681
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1681#FFFFFF#000000##FFFFFF
##7A16811.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F84
Deuteranopia (green-blind)
#2F4B7F
Tritanopia (blue-blind)
#7D2B4C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a1681;
/* rgb */ color: rgb(122, 22, 129);
/* oklch */ color: oklch(42.2% 0.178 325.1);
Tailwind
colors: {
  custom: {
    50: '#a462a6',
    500: '#7a1681',
    950: '#000000',
  },
}
SCSS
$custom: #7a1681;
$custom-light: #a462a6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1681",
  "rgb": {
    "r": 122,
    "g": 22,
    "b": 129
  },
  "hsl": {
    "h": 296.075,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42161,
    "c": 0.17846,
    "h": 325.1
  },
  "luminance": 0.06296
}

Semantic roles & 50–950 ramp

primary
#7A1681
secondary
#45B63D
accent
#EE3A46
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7A1681

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

Preview Lab → · Contrast checker → · Palette generator →

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