#7E1E90#7E1E90

#7E1E90 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.185 H 320.6°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#7E1E90
RGBrgb(126, 30, 144)
HSLhsl(291, 66%, 34%)
HSVhsv(291, 79%, 56%)
CMYKcmyk(12.5%, 79.2%, 0%, 43.5%)
CIE-LABlab(32.65, 54.98, -41.86)
CIE-LCHlch(32.65, 69.11, 322.72°)
OKLaboklab(44.38% 0.1431 -0.1174)
OKLCHoklch(44.38% 0.185 320.6)
XYZxyz(14.1019, 7.3785, 27.0616)
Luminance0.0738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E90 #30901E
analogous
#451E90 #7E1E90 #901E69
triadic
#7E1E90 #907E1E #1E907E
tetradic
#7E1E90 #90451E #30901E #1E6990
square
#7E1E90 #90451E #30901E #1E6990
split-complementary
#7E1E90 #69901E #1E9045
monochromatic
#25092B #52135D #7E1E90 #AA29C3 #C44EDA

Accessibility & contrast

On white

8.48
#7E1E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7E1E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E90
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E90#FFFFFF#000000##FFFFFF
##7E1E901.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#2B508D
Tritanopia (blue-blind)
#7F3657
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7e1e90;
/* rgb */ color: rgb(126, 30, 144);
/* oklch */ color: oklch(44.4% 0.185 320.6);
Tailwind
colors: {
  custom: {
    50: '#a766b1',
    500: '#7e1e90',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e90;
$custom-light: #a766b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e90",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 144
  },
  "hsl": {
    "h": 290.526,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44382,
    "c": 0.18512,
    "h": 320.6
  },
  "luminance": 0.07378
}

Semantic roles & 50–950 ramp

primary
#7E1E90
secondary
#5FBD4D
accent
#E83F5A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7E1E90

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

Preview Lab → · Contrast checker → · Palette generator →

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