#7A1880#7A1880

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

Color values

HEX#7A1880
RGBrgb(122, 24, 128)
HSLhsl(297, 68%, 30%)
HSVhsv(297, 81%, 50%)
CMYKcmyk(4.7%, 81.3%, 0%, 49.8%)
CIE-LABlab(30.28, 53.07, -35.76)
CIE-LCHlch(30.28, 64.00, 326.03°)
OKLaboklab(42.23% 0.1449 -0.0996)
OKLCHoklch(42.23% 0.176 325.5)
XYZxyz(12.2487, 6.3502, 20.9985)
Luminance0.0635 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1880 #1E8018
analogous
#461880 #7A1880 #801852
triadic
#7A1880 #807A18 #18807A
tetradic
#7A1880 #804618 #1E8018 #185280
square
#7A1880 #804618 #1E8018 #185280
split-complementary
#7A1880 #528018 #188046
monochromatic
#19051A #490E4C #7A1880 #AB22B4 #D039DA

Accessibility & contrast

On white

9.25
#7A1880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7A1880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1880
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1880#FFFFFF#000000##FFFFFF
##7A18801.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004083
Deuteranopia (green-blind)
#314B7E
Tritanopia (blue-blind)
#7D2C4C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a1880;
/* rgb */ color: rgb(122, 24, 128);
/* oklch */ color: oklch(42.2% 0.176 325.5);
Tailwind
colors: {
  custom: {
    50: '#a462a5',
    500: '#7a1880',
    950: '#000000',
  },
}
SCSS
$custom: #7a1880;
$custom-light: #a462a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1880",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 296.538,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42232,
    "c": 0.17587,
    "h": 325.5
  },
  "luminance": 0.06349
}

Semantic roles & 50–950 ramp

primary
#7A1880
secondary
#46B440
accent
#EB3D47
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7A1880

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

Preview Lab → · Contrast checker → · Palette generator →

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