#7A1D99#7A1D99

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

Color values

HEX#7A1D99
RGBrgb(122, 29, 153)
HSLhsl(285, 68%, 36%)
HSVhsv(285, 81%, 60%)
CMYKcmyk(20.3%, 81%, 0%, 40%)
CIE-LABlab(32.52, 56.27, -47.63)
CIE-LCHlch(32.52, 73.72, 319.75°)
OKLaboklab(44.36% 0.1375 -0.1344)
OKLCHoklch(44.36% 0.192 315.7)
XYZxyz(14.2143, 7.3168, 30.7943)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1D99 #3C991D
analogous
#3C1D99 #7A1D99 #991D7A
triadic
#7A1D99 #997A1D #1D997A
tetradic
#7A1D99 #993C1D #3C991D #1D7A99
square
#7A1D99 #993C1D #3C991D #1D7A99
split-complementary
#7A1D99 #7A991D #1D993C
monochromatic
#280932 #511366 #7A1D99 #A327CC #BB52DE

Accessibility & contrast

On white

8.53
#7A1D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7A1D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1D99
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1D99#FFFFFF#000000##FFFFFF
##7A1D991.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1d99;
/* rgb */ color: rgb(122, 29, 153);
/* oklch */ color: oklch(44.4% 0.192 315.7);
Tailwind
colors: {
  custom: {
    50: '#a566b8',
    500: '#7a1d99',
    950: '#000000',
  },
}
SCSS
$custom: #7a1d99;
$custom-light: #a566b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1d99",
  "rgb": {
    "r": 122,
    "g": 29,
    "b": 153
  },
  "hsl": {
    "h": 285,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44356,
    "c": 0.19234,
    "h": 315.7
  },
  "luminance": 0.07316
}

Semantic roles & 50–950 ramp

primary
#7A1D99
secondary
#6DC151
accent
#EB3D68
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7A1D99

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

Preview Lab → · Contrast checker → · Palette generator →

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