#7A1C99#7A1C99

#7A1C99 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.193 H 315.7°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#7A1C99
RGBrgb(122, 28, 153)
HSLhsl(285, 69%, 35%)
HSVhsv(285, 82%, 60%)
CMYKcmyk(20.3%, 81.7%, 0%, 40%)
CIE-LABlab(32.41, 56.58, -47.80)
CIE-LCHlch(32.41, 74.07, 319.81°)
OKLaboklab(44.28% 0.1383 -0.1349)
OKLCHoklch(44.28% 0.193 315.7)
XYZxyz(14.1901, 7.2686, 30.7863)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1C99 #3B991C
analogous
#3B1C99 #7A1C99 #991C79
triadic
#7A1C99 #997A1C #1C997A
tetradic
#7A1C99 #993B1C #3B991C #1C7999
square
#7A1C99 #993B1C #3B991C #1C7999
split-complementary
#7A1C99 #79991C #1C993B
monochromatic
#270932 #511365 #7A1C99 #A325CD #BC50DF

Accessibility & contrast

On white

8.56
#7A1C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7A1C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1C99
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1C99#FFFFFF#000000##FFFFFF
##7A1C991.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#184F96
Tritanopia (blue-blind)
#783A5B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7a1c99;
/* rgb */ color: rgb(122, 28, 153);
/* oklch */ color: oklch(44.3% 0.193 315.7);
Tailwind
colors: {
  custom: {
    50: '#a565b8',
    500: '#7a1c99',
    950: '#000000',
  },
}
SCSS
$custom: #7a1c99;
$custom-light: #a565b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1c99",
  "rgb": {
    "r": 122,
    "g": 28,
    "b": 153
  },
  "hsl": {
    "h": 285.12,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44281,
    "c": 0.19325,
    "h": 315.7
  },
  "luminance": 0.07268
}

Semantic roles & 50–950 ramp

primary
#7A1C99
secondary
#6CC24F
accent
#EC3C68
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7A1C99

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

Preview Lab → · Contrast checker → · Palette generator →

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