#7A1E9D#7A1E9D

#7A1E9D is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.7% C 0.195 H 314.2°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#7A1E9D
RGBrgb(122, 30, 157)
HSLhsl(283, 68%, 37%)
HSVhsv(283, 81%, 62%)
CMYKcmyk(22.3%, 80.9%, 0%, 38.4%)
CIE-LABlab(32.92, 56.76, -49.41)
CIE-LCHlch(32.92, 75.25, 318.96°)
OKLaboklab(44.73% 0.136 -0.1397)
OKLCHoklch(44.73% 0.195 314.2)
XYZxyz(14.5751, 7.5010, 32.5718)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E9D #419D1E
analogous
#3B1E9D #7A1E9D #9D1E81
triadic
#7A1E9D #9D7A1E #1E9D7A
tetradic
#7A1E9D #9D3B1E #419D1E #1E819D
square
#7A1E9D #9D3B1E #419D1E #1E819D
split-complementary
#7A1E9D #819D1E #1E9D3B
monochromatic
#2A0A36 #52146A #7A1E9D #A228D0 #B957DF

Accessibility & contrast

On white

8.40
#7A1E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1E9D
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1E9D#FFFFFF#000000##FFFFFF
##7A1E9D1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#11509A
Tritanopia (blue-blind)
#773D5E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a1e9d;
/* rgb */ color: rgb(122, 30, 157);
/* oklch */ color: oklch(44.7% 0.195 314.2);
Tailwind
colors: {
  custom: {
    50: '#a566bb',
    500: '#7a1e9d',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e9d;
$custom-light: #a566bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e9d",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 283.465,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44733,
    "c": 0.19494,
    "h": 314.2
  },
  "luminance": 0.075
}

Semantic roles & 50–950 ramp

primary
#7A1E9D
secondary
#73C254
accent
#EB3D6D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7A1E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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