#7A1680#7A1680

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

Color values

HEX#7A1680
RGBrgb(122, 22, 128)
HSLhsl(297, 71%, 29%)
HSVhsv(297, 83%, 50%)
CMYKcmyk(4.7%, 82.8%, 0%, 49.8%)
CIE-LABlab(30.09, 53.64, -36.07)
CIE-LCHlch(30.09, 64.64, 326.08°)
OKLaboklab(42.09% 0.1465 -0.1005)
OKLCHoklch(42.09% 0.178 325.5)
XYZxyz(12.2090, 6.2707, 20.9852)
Luminance0.0627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1680 #1C8016
analogous
#451680 #7A1680 #801651
triadic
#7A1680 #807A16 #16807A
tetradic
#7A1680 #804516 #1C8016 #165180
square
#7A1680 #804516 #1C8016 #165180
split-complementary
#7A1680 #518016 #168045
monochromatic
#19041A #480D4C #7A1680 #AC1FB4 #D334DC

Accessibility & contrast

On white

9.32
#7A1680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1680
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1680#FFFFFF#000000##FFFFFF
##7A16801.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F83
Deuteranopia (green-blind)
#304B7E
Tritanopia (blue-blind)
#7D2B4C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a1680;
/* rgb */ color: rgb(122, 22, 128);
/* oklch */ color: oklch(42.1% 0.178 325.5);
Tailwind
colors: {
  custom: {
    50: '#a462a5',
    500: '#7a1680',
    950: '#000000',
  },
}
SCSS
$custom: #7a1680;
$custom-light: #a462a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1680",
  "rgb": {
    "r": 122,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 296.604,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.42094,
    "c": 0.17765,
    "h": 325.5
  },
  "luminance": 0.0627
}

Semantic roles & 50–950 ramp

primary
#7A1680
secondary
#44B53D
accent
#ED3A44
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7A1680

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

Preview Lab → · Contrast checker → · Palette generator →

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