#7A1577#7A1577

#7A1577 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.171 H 329.5°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#7A1577
RGBrgb(122, 21, 119)
HSLhsl(302, 71%, 28%)
HSVhsv(302, 83%, 48%)
CMYKcmyk(0%, 82.8%, 2.5%, 52.2%)
CIE-LABlab(29.43, 52.37, -31.43)
CIE-LCHlch(29.43, 61.08, 329.03°)
OKLaboklab(41.45% 0.1477 -0.087)
OKLCHoklch(41.45% 0.171 329.5)
XYZxyz(11.6239, 6.0067, 17.9964)
Luminance0.0601 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1577 #157A18
analogous
#4A157A #7A1577 #7A1544
triadic
#7A1577 #777A15 #15777A
tetradic
#7A1577 #7A4A15 #157A18 #15447A
square
#7A1577 #7A4A15 #157A18 #15447A
split-complementary
#7A1577 #447A15 #157A4A
monochromatic
#1A0419 #460C44 #7A1577 #AE1EAA #DB2ED6

Accessibility & contrast

On white

9.54
#7A1577 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7A1577 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1577
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1577#FFFFFF#000000##FFFFFF
##7A15771.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7A
Deuteranopia (green-blind)
#354A75
Tritanopia (blue-blind)
#7F2647
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a1577;
/* rgb */ color: rgb(122, 21, 119);
/* oklch */ color: oklch(41.4% 0.171 329.5);
Tailwind
colors: {
  custom: {
    50: '#a4619f',
    500: '#7a1577',
    950: '#000000',
  },
}
SCSS
$custom: #7a1577;
$custom-light: #a4619f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1577",
  "rgb": {
    "r": 122,
    "g": 21,
    "b": 119
  },
  "hsl": {
    "h": 301.782,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41448,
    "c": 0.17146,
    "h": 329.5
  },
  "luminance": 0.06006
}

Semantic roles & 50–950 ramp

primary
#7A1577
secondary
#3BAF3F
accent
#ED403A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A1577

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

Preview Lab → · Contrast checker → · Palette generator →

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