#7A1775#7A1775

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

Color values

HEX#7A1775
RGBrgb(122, 23, 117)
HSLhsl(303, 68%, 28%)
HSVhsv(303, 81%, 48%)
CMYKcmyk(0%, 81.1%, 4.1%, 52.2%)
CIE-LABlab(29.50, 51.48, -30.05)
CIE-LCHlch(29.50, 59.60, 329.73°)
OKLaboklab(41.46% 0.1462 -0.083)
OKLCHoklch(41.46% 0.168 330.4)
XYZxyz(11.5433, 6.0357, 17.3832)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1775 #177A1C
analogous
#4D177A #7A1775 #7A1743
triadic
#7A1775 #757A17 #17757A
tetradic
#7A1775 #7A4D17 #177A1C #17437A
square
#7A1775 #7A4D17 #177A1C #17437A
split-complementary
#7A1775 #437A17 #177A4D
monochromatic
#1A0519 #470D44 #7A1775 #AD21A6 #D933D0

Accessibility & contrast

On white

9.52
#7A1775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7A1775 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1775
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1775#FFFFFF#000000##FFFFFF
##7A17751.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073D77
Deuteranopia (green-blind)
#374A73
Tritanopia (blue-blind)
#7F2646
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a1775;
/* rgb */ color: rgb(122, 23, 117);
/* oklch */ color: oklch(41.5% 0.168 330.4);
Tailwind
colors: {
  custom: {
    50: '#a4629d',
    500: '#7a1775',
    950: '#000000',
  },
}
SCSS
$custom: #7a1775;
$custom-light: #a4629d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1775",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 117
  },
  "hsl": {
    "h": 303.03,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41462,
    "c": 0.1681,
    "h": 330.4
  },
  "luminance": 0.06035
}

Semantic roles & 50–950 ramp

primary
#7A1775
secondary
#3EAF44
accent
#EB453D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A1775

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

Preview Lab → · Contrast checker → · Palette generator →

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