#7A1380#7A1380

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

Color values

HEX#7A1380
RGBrgb(122, 19, 128)
HSLhsl(297, 74%, 29%)
HSVhsv(297, 85%, 50%)
CMYKcmyk(4.7%, 85.2%, 0%, 49.8%)
CIE-LABlab(29.82, 54.41, -36.49)
CIE-LCHlch(29.82, 65.52, 326.15°)
OKLaboklab(41.91% 0.1486 -0.1017)
OKLCHoklch(41.91% 0.18 325.6)
XYZxyz(12.1549, 6.1627, 20.9672)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1380 #198013
analogous
#441380 #7A1380 #801350
triadic
#7A1380 #807A13 #13807A
tetradic
#7A1380 #804413 #198013 #135080
square
#7A1380 #804413 #198013 #135080
split-complementary
#7A1380 #508013 #138044
monochromatic
#19041B #470B4B #7A1380 #AD1BB5 #D62DE0

Accessibility & contrast

On white

9.41
#7A1380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7A1380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1380
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1380#FFFFFF#000000##FFFFFF
##7A13801.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E83
Deuteranopia (green-blind)
#2F4A7E
Tritanopia (blue-blind)
#7D2A4B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a1380;
/* rgb */ color: rgb(122, 19, 128);
/* oklch */ color: oklch(41.9% 0.180 325.6);
Tailwind
colors: {
  custom: {
    50: '#a461a5',
    500: '#7a1380',
    950: '#000000',
  },
}
SCSS
$custom: #7a1380;
$custom-light: #a461a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1380",
  "rgb": {
    "r": 122,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 296.697,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41906,
    "c": 0.18011,
    "h": 325.6
  },
  "luminance": 0.06162
}

Semantic roles & 50–950 ramp

primary
#7A1380
secondary
#40B539
accent
#F13741
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7A1380

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

Preview Lab → · Contrast checker → · Palette generator →

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