#7A1E8B#7A1E8B

#7A1E8B is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.4% C 0.179 H 320.8°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#7A1E8B
RGBrgb(122, 30, 139)
HSLhsl(291, 64%, 33%)
HSVhsv(291, 78%, 55%)
CMYKcmyk(12.2%, 78.4%, 0%, 45.5%)
CIE-LABlab(31.65, 53.22, -40.42)
CIE-LCHlch(31.65, 66.83, 322.78°)
OKLaboklab(43.43% 0.1388 -0.1133)
OKLCHoklch(43.43% 0.179 320.8)
XYZxyz(13.1500, 6.9309, 25.0662)
Luminance0.0693 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E8B #2F8B1E
analogous
#431E8B #7A1E8B #8B1E65
triadic
#7A1E8B #8B7A1E #1E8B7A
tetradic
#7A1E8B #8B431E #2F8B1E #1E658B
square
#7A1E8B #8B431E #2F8B1E #1E658B
split-complementary
#7A1E8B #658B1E #1E8B43
monochromatic
#220826 #4E1359 #7A1E8B #A629BD #C24BD8

Accessibility & contrast

On white

8.80
#7A1E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7A1E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1E8B
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1E8B#FFFFFF#000000##FFFFFF
##7A1E8B1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#2B4E89
Tritanopia (blue-blind)
#7B3454
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a1e8b;
/* rgb */ color: rgb(122, 30, 139);
/* oklch */ color: oklch(43.4% 0.179 320.8);
Tailwind
colors: {
  custom: {
    50: '#a465ad',
    500: '#7a1e8b',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e8b;
$custom-light: #a465ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e8b",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 139
  },
  "hsl": {
    "h": 290.642,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43433,
    "c": 0.17918,
    "h": 320.8
  },
  "luminance": 0.0693
}

Semantic roles & 50–950 ramp

primary
#7A1E8B
secondary
#5CBB4A
accent
#E7405A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A1E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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