#7A1480#7A1480

#7A1480 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.0% C 0.179 H 325.6°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#7A1480
RGBrgb(122, 20, 128)
HSLhsl(297, 73%, 29%)
HSVhsv(297, 84%, 50%)
CMYKcmyk(4.7%, 84.4%, 0%, 49.8%)
CIE-LABlab(29.90, 54.16, -36.36)
CIE-LCHlch(29.90, 65.23, 326.13°)
OKLaboklab(41.97% 0.1479 -0.1014)
OKLCHoklch(41.97% 0.179 325.6)
XYZxyz(12.1722, 6.1972, 20.9730)
Luminance0.0620 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1480 #1A8014
analogous
#441480 #7A1480 #801450
triadic
#7A1480 #807A14 #14807A
tetradic
#7A1480 #804414 #1A8014 #145080
square
#7A1480 #804414 #1A8014 #145080
split-complementary
#7A1480 #508014 #148044
monochromatic
#19041A #480C4B #7A1480 #AC1CB5 #D530DF

Accessibility & contrast

On white

9.38
#7A1480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7A1480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1480
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1480#FFFFFF#000000##FFFFFF
##7A14801.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F83
Deuteranopia (green-blind)
#2F4B7E
Tritanopia (blue-blind)
#7D2A4C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a1480;
/* rgb */ color: rgb(122, 20, 128);
/* oklch */ color: oklch(42.0% 0.179 325.6);
Tailwind
colors: {
  custom: {
    50: '#a461a5',
    500: '#7a1480',
    950: '#000000',
  },
}
SCSS
$custom: #7a1480;
$custom-light: #a461a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1480",
  "rgb": {
    "r": 122,
    "g": 20,
    "b": 128
  },
  "hsl": {
    "h": 296.667,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41967,
    "c": 0.17932,
    "h": 325.6
  },
  "luminance": 0.06196
}

Semantic roles & 50–950 ramp

primary
#7A1480
secondary
#41B53B
accent
#F03842
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7A1480

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

Preview Lab → · Contrast checker → · Palette generator →

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