#7A1E7F#7A1E7F

#7A1E7F is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.169 H 325.8°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#7A1E7F
RGBrgb(122, 30, 127)
HSLhsl(297, 62%, 31%)
HSVhsv(297, 76%, 50%)
CMYKcmyk(3.9%, 76.4%, 0%, 50.2%)
CIE-LABlab(30.88, 50.99, -34.18)
CIE-LCHlch(30.88, 61.39, 326.17°)
OKLaboklab(42.64% 0.1397 -0.0951)
OKLCHoklch(42.64% 0.169 325.8)
XYZxyz(12.3208, 6.5993, 20.6994)
Luminance0.0660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E7F #237F1E
analogous
#491E7F #7A1E7F #7F1E53
triadic
#7A1E7F #7F7A1E #1E7F7A
tetradic
#7A1E7F #7F491E #237F1E #1E537F
square
#7A1E7F #7F491E #237F1E #1E537F
split-complementary
#7A1E7F #537F1E #1E7F49
monochromatic
#1B071C #4A124D #7A1E7F #AA2AB1 #CC44D3

Accessibility & contrast

On white

9.05
#7A1E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7A1E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1E7F
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1E7F#FFFFFF#000000##FFFFFF
##7A1E7F1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#344D7D
Tritanopia (blue-blind)
#7D2F4D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a1e7f;
/* rgb */ color: rgb(122, 30, 127);
/* oklch */ color: oklch(42.6% 0.169 325.8);
Tailwind
colors: {
  custom: {
    50: '#a465a4',
    500: '#7a1e7f',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e7f;
$custom-light: #a465a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e7f",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 127
  },
  "hsl": {
    "h": 296.907,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42636,
    "c": 0.16897,
    "h": 325.8
  },
  "luminance": 0.06598
}

Semantic roles & 50–950 ramp

primary
#7A1E7F
secondary
#4CB247
accent
#E5434B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7A1E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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