#7E1A90#7E1A90

#7E1A90 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.1% C 0.189 H 320.8°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#7E1A90
RGBrgb(126, 26, 144)
HSLhsl(291, 69%, 33%)
HSVhsv(291, 82%, 56%)
CMYKcmyk(12.5%, 81.9%, 0%, 43.5%)
CIE-LABlab(32.23, 56.20, -42.54)
CIE-LCHlch(32.23, 70.48, 322.88°)
OKLaboklab(44.09% 0.1464 -0.1193)
OKLCHoklch(44.09% 0.189 320.8)
XYZxyz(14.0070, 7.1888, 27.0299)
Luminance0.0719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A90 #2C901A
analogous
#431A90 #7E1A90 #901A67
triadic
#7E1A90 #907E1A #1A907E
tetradic
#7E1A90 #90431A #2C901A #1A6790
square
#7E1A90 #90431A #2C901A #1A6790
split-complementary
#7E1A90 #67901A #1A9043
monochromatic
#230728 #51115C #7E1A90 #AB23C4 #C747DE

Accessibility & contrast

On white

8.62
#7E1A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7E1A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1A90
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A90#FFFFFF#000000##FFFFFF
##7E1A901.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#294F8D
Tritanopia (blue-blind)
#7F3456
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7e1a90;
/* rgb */ color: rgb(126, 26, 144);
/* oklch */ color: oklch(44.1% 0.189 320.8);
Tailwind
colors: {
  custom: {
    50: '#a765b1',
    500: '#7e1a90',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a90;
$custom-light: #a765b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a90",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 144
  },
  "hsl": {
    "h": 290.847,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44085,
    "c": 0.18885,
    "h": 320.8
  },
  "luminance": 0.07188
}

Semantic roles & 50–950 ramp

primary
#7E1A90
secondary
#59BF47
accent
#EC3C57
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7E1A90

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

Preview Lab → · Contrast checker → · Palette generator →

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