#7A1574#7A1574

#7A1574 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.169 H 330.9°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#7A1574
RGBrgb(122, 21, 116)
HSLhsl(304, 71%, 28%)
HSVhsv(304, 83%, 48%)
CMYKcmyk(0%, 82.8%, 4.9%, 52.2%)
CIE-LABlab(29.25, 51.87, -29.81)
CIE-LCHlch(29.25, 59.83, 330.12°)
OKLaboklab(41.26% 0.1478 -0.0823)
OKLCHoklch(41.26% 0.169 330.9)
XYZxyz(11.4466, 5.9358, 17.0625)
Luminance0.0593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1574 #157A1B
analogous
#4D157A #7A1574 #7A1542
triadic
#7A1574 #747A15 #15747A
tetradic
#7A1574 #7A4D15 #157A1B #15427A
square
#7A1574 #7A4D15 #157A1B #15427A
split-complementary
#7A1574 #427A15 #157A4D
monochromatic
#1A0419 #460C42 #7A1574 #AE1EA6 #DB2ED1

Accessibility & contrast

On white

9.60
#7A1574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7A1574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1574
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1574#FFFFFF#000000##FFFFFF
##7A15741.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063C76
Deuteranopia (green-blind)
#374A72
Tritanopia (blue-blind)
#7F2445
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a1574;
/* rgb */ color: rgb(122, 21, 116);
/* oklch */ color: oklch(41.3% 0.169 330.9);
Tailwind
colors: {
  custom: {
    50: '#a4619c',
    500: '#7a1574',
    950: '#000000',
  },
}
SCSS
$custom: #7a1574;
$custom-light: #a4619c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1574",
  "rgb": {
    "r": 122,
    "g": 21,
    "b": 116
  },
  "hsl": {
    "h": 303.564,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41263,
    "c": 0.16917,
    "h": 330.9
  },
  "luminance": 0.05935
}

Semantic roles & 50–950 ramp

primary
#7A1574
secondary
#3BAF42
accent
#ED453A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A1574

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

Preview Lab → · Contrast checker → · Palette generator →

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