#7A1975#7A1975

#7A1975 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.166 H 330.4°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#7A1975
RGBrgb(122, 25, 117)
HSLhsl(303, 66%, 29%)
HSVhsv(303, 80%, 48%)
CMYKcmyk(0%, 79.5%, 4.1%, 52.2%)
CIE-LABlab(29.71, 50.88, -29.72)
CIE-LCHlch(29.71, 58.93, 329.71°)
OKLaboklab(41.61% 0.1445 -0.0821)
OKLCHoklch(41.61% 0.166 330.4)
XYZxyz(11.5845, 6.1181, 17.3970)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1975 #197A1E
analogous
#4F197A #7A1975 #7A1945
triadic
#7A1975 #757A19 #19757A
tetradic
#7A1975 #7A4F19 #197A1E #19457A
square
#7A1975 #7A4F19 #197A1E #19457A
split-complementary
#7A1975 #457A19 #197A4F
monochromatic
#190518 #470F44 #7A1975 #AD23A6 #D637CE

Accessibility & contrast

On white

9.44
#7A1975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7A1975 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1975
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1975#FFFFFF#000000##FFFFFF
##7A19751.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3E77
Deuteranopia (green-blind)
#384B73
Tritanopia (blue-blind)
#7F2746
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a1975;
/* rgb */ color: rgb(122, 25, 117);
/* oklch */ color: oklch(41.6% 0.166 330.4);
Tailwind
colors: {
  custom: {
    50: '#a4629d',
    500: '#7a1975',
    950: '#000000',
  },
}
SCSS
$custom: #7a1975;
$custom-light: #a4629d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1975",
  "rgb": {
    "r": 122,
    "g": 25,
    "b": 117
  },
  "hsl": {
    "h": 303.093,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41609,
    "c": 0.16615,
    "h": 330.4
  },
  "luminance": 0.06117
}

Semantic roles & 50–950 ramp

primary
#7A1975
secondary
#40AF46
accent
#E9483F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A1975

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

Preview Lab → · Contrast checker → · Palette generator →

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