#7A1575#7A1575

#7A1575 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.170 H 330.4°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#7A1575
RGBrgb(122, 21, 117)
HSLhsl(303, 71%, 28%)
HSVhsv(303, 83%, 48%)
CMYKcmyk(0%, 82.8%, 4.1%, 52.2%)
CIE-LABlab(29.31, 52.04, -30.35)
CIE-LCHlch(29.31, 60.24, 329.75°)
OKLaboklab(41.32% 0.1478 -0.0839)
OKLCHoklch(41.32% 0.17 330.4)
XYZxyz(11.5051, 5.9592, 17.3705)
Luminance0.0596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1575 #157A1A
analogous
#4C157A #7A1575 #7A1543
triadic
#7A1575 #757A15 #15757A
tetradic
#7A1575 #7A4C15 #157A1A #15437A
square
#7A1575 #7A4C15 #157A1A #15437A
split-complementary
#7A1575 #437A15 #157A4C
monochromatic
#1A0419 #460C43 #7A1575 #AE1EA7 #DB2ED3

Accessibility & contrast

On white

9.58
#7A1575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1575
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1575#FFFFFF#000000##FFFFFF
##7A15751.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043C77
Deuteranopia (green-blind)
#364A73
Tritanopia (blue-blind)
#7F2445
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a1575;
/* rgb */ color: rgb(122, 21, 117);
/* oklch */ color: oklch(41.3% 0.170 330.4);
Tailwind
colors: {
  custom: {
    50: '#a4619d',
    500: '#7a1575',
    950: '#000000',
  },
}
SCSS
$custom: #7a1575;
$custom-light: #a4619d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1575",
  "rgb": {
    "r": 122,
    "g": 21,
    "b": 117
  },
  "hsl": {
    "h": 302.97,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41324,
    "c": 0.16993,
    "h": 330.4
  },
  "luminance": 0.05958
}

Semantic roles & 50–950 ramp

primary
#7A1575
secondary
#3BAF41
accent
#ED433A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A1575

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

Preview Lab → · Contrast checker → · Palette generator →

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