#7A1580#7A1580

#7A1580 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.35:1 contrast (WCAG AA passes).

Color values

HEX#7A1580
RGBrgb(122, 21, 128)
HSLhsl(297, 72%, 29%)
HSVhsv(297, 84%, 50%)
CMYKcmyk(4.7%, 83.6%, 0%, 49.8%)
CIE-LABlab(29.99, 53.90, -36.22)
CIE-LCHlch(29.99, 64.94, 326.10°)
OKLaboklab(42.03% 0.1472 -0.1009)
OKLCHoklch(42.03% 0.179 325.6)
XYZxyz(12.1902, 6.2333, 20.9790)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1580 #1B8015
analogous
#451580 #7A1580 #801550
triadic
#7A1580 #807A15 #15807A
tetradic
#7A1580 #804515 #1B8015 #155080
square
#7A1580 #804515 #1B8015 #155080
split-complementary
#7A1580 #508015 #158045
monochromatic
#19041A #480C4B #7A1580 #AC1EB5 #D432DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A1580#FFFFFF#000000##FFFFFF
##7A15801.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)
#003F83
Deuteranopia (green-blind)
#2F4B7E
Tritanopia (blue-blind)
#7D2A4C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a1580;
/* rgb */ color: rgb(122, 21, 128);
/* oklch */ color: oklch(42.0% 0.179 325.6);
Tailwind
colors: {
  custom: {
    50: '#a461a5',
    500: '#7a1580',
    950: '#000000',
  },
}
SCSS
$custom: #7a1580;
$custom-light: #a461a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1580",
  "rgb": {
    "r": 122,
    "g": 21,
    "b": 128
  },
  "hsl": {
    "h": 296.636,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.42029,
    "c": 0.17851,
    "h": 325.6
  },
  "luminance": 0.06232
}

Semantic roles & 50–950 ramp

primary
#7A1580
secondary
#43B53C
accent
#EF3943
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7A1580

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

Preview Lab → · Contrast checker → · Palette generator →

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