#7A1081#7A1081

#7A1081 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.8% C 0.183 H 325.2°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#7A1081
RGBrgb(122, 16, 129)
HSLhsl(296, 78%, 28%)
HSVhsv(296, 88%, 51%)
CMYKcmyk(5.4%, 87.6%, 0%, 49.4%)
CIE-LABlab(29.65, 55.28, -37.40)
CIE-LCHlch(29.65, 66.74, 325.92°)
OKLaboklab(41.81% 0.1504 -0.1044)
OKLCHoklch(41.81% 0.183 325.2)
XYZxyz(12.1735, 6.0940, 21.2997)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1081 #178110
analogous
#411081 #7A1081 #81104F
triadic
#7A1081 #817A10 #10817A
tetradic
#7A1081 #814110 #178110 #104F81
square
#7A1081 #814110 #178110 #104F81
split-complementary
#7A1081 #4F8110 #108141
monochromatic
#1A031B #47094B #7A1081 #AD17B7 #D927E4

Accessibility & contrast

On white

9.47
#7A1081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7A1081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1081
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1081#FFFFFF#000000##FFFFFF
##7A10811.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E84
Deuteranopia (green-blind)
#2D4A7F
Tritanopia (blue-blind)
#7D294B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a1081;
/* rgb */ color: rgb(122, 16, 129);
/* oklch */ color: oklch(41.8% 0.183 325.2);
Tailwind
colors: {
  custom: {
    50: '#a460a6',
    500: '#7a1081',
    950: '#000000',
  },
}
SCSS
$custom: #7a1081;
$custom-light: #a460a6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1081",
  "rgb": {
    "r": 122,
    "g": 16,
    "b": 129
  },
  "hsl": {
    "h": 296.283,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41807,
    "c": 0.18309,
    "h": 325.2
  },
  "luminance": 0.06093
}

Semantic roles & 50–950 ramp

primary
#7A1081
secondary
#3EB736
accent
#F4333F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10050F
muted
#7F7A7F

Preview Lab

Preview with #7A1081

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

Preview Lab → · Contrast checker → · Palette generator →

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