#7A1D9F#7A1D9F

#7A1D9F is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.8% C 0.198 H 313.6°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#7A1D9F
RGBrgb(122, 29, 159)
HSLhsl(283, 69%, 37%)
HSVhsv(283, 82%, 62%)
CMYKcmyk(23.3%, 81.8%, 0%, 37.6%)
CIE-LABlab(32.96, 57.48, -50.56)
CIE-LCHlch(32.96, 76.55, 318.66°)
OKLaboklab(44.81% 0.1363 -0.143)
OKLCHoklch(44.81% 0.198 313.6)
XYZxyz(14.7223, 7.5200, 33.4701)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1D9F #429F1D
analogous
#391D9F #7A1D9F #9F1D83
triadic
#7A1D9F #9F7A1D #1D9F7A
tetradic
#7A1D9F #9F391D #429F1D #1D839F
square
#7A1D9F #9F391D #429F1D #1D839F
split-complementary
#7A1D9F #839F1D #1D9F39
monochromatic
#2B0A37 #52146B #7A1D9F #A226D3 #B956E0

Accessibility & contrast

On white

8.39
#7A1D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7A1D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1D9F
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1D9F#FFFFFF#000000##FFFFFF
##7A1D9F1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#0A509C
Tritanopia (blue-blind)
#763D5F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a1d9f;
/* rgb */ color: rgb(122, 29, 159);
/* oklch */ color: oklch(44.8% 0.198 313.6);
Tailwind
colors: {
  custom: {
    50: '#a566bc',
    500: '#7a1d9f',
    950: '#000000',
  },
}
SCSS
$custom: #7a1d9f;
$custom-light: #a566bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1d9f",
  "rgb": {
    "r": 122,
    "g": 29,
    "b": 159
  },
  "hsl": {
    "h": 282.923,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44809,
    "c": 0.19761,
    "h": 313.6
  },
  "luminance": 0.0752
}

Semantic roles & 50–950 ramp

primary
#7A1D9F
secondary
#74C454
accent
#EC3C6E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7A1D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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