#7A1E9F#7A1E9F

#7A1E9F is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.9% C 0.197 H 313.6°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#7A1E9F
RGBrgb(122, 30, 159)
HSLhsl(283, 68%, 37%)
HSVhsv(283, 81%, 62%)
CMYKcmyk(23.3%, 81.1%, 0%, 37.6%)
CIE-LABlab(33.07, 57.16, -50.38)
CIE-LCHlch(33.07, 76.20, 318.61°)
OKLaboklab(44.88% 0.1356 -0.1425)
OKLCHoklch(44.88% 0.197 313.6)
XYZxyz(14.7472, 7.5698, 33.4784)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E9F #439F1E
analogous
#3A1E9F #7A1E9F #9F1E83
triadic
#7A1E9F #9F7A1E #1E9F7A
tetradic
#7A1E9F #9F3A1E #439F1E #1E839F
square
#7A1E9F #9F3A1E #439F1E #1E839F
split-complementary
#7A1E9F #839F1E #1E9F3A
monochromatic
#2B0B38 #52146C #7A1E9F #A228D2 #B958DF

Accessibility & contrast

On white

8.35
#7A1E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7A1E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1E9F
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1E9F#FFFFFF#000000##FFFFFF
##7A1E9F1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#0C509C
Tritanopia (blue-blind)
#763E5F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7a1e9f;
/* rgb */ color: rgb(122, 30, 159);
/* oklch */ color: oklch(44.9% 0.197 313.6);
Tailwind
colors: {
  custom: {
    50: '#a566bc',
    500: '#7a1e9f',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e9f;
$custom-light: #a566bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e9f",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 159
  },
  "hsl": {
    "h": 282.791,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44884,
    "c": 0.19671,
    "h": 313.6
  },
  "luminance": 0.07569
}

Semantic roles & 50–950 ramp

primary
#7A1E9F
secondary
#75C356
accent
#EB3D6F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7A1E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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