#7F1E90#7F1E90

#7F1E90 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.186 H 321.1°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#7F1E90
RGBrgb(127, 30, 144)
HSLhsl(291, 66%, 34%)
HSVhsv(291, 79%, 56%)
CMYKcmyk(11.8%, 79.2%, 0%, 43.5%)
CIE-LABlab(32.82, 55.19, -41.58)
CIE-LCHlch(32.82, 69.10, 323.00°)
OKLaboklab(44.53% 0.1443 -0.1165)
OKLCHoklch(44.53% 0.186 321.1)
XYZxyz(14.2501, 7.4550, 27.0685)
Luminance0.0745 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1E90 #2F901E
analogous
#461E90 #7F1E90 #901E68
triadic
#7F1E90 #907F1E #1E907F
tetradic
#7F1E90 #90461E #2F901E #1E6890
square
#7F1E90 #90461E #2F901E #1E6890
split-complementary
#7F1E90 #68901E #1E9046
monochromatic
#26092B #52135D #7F1E90 #AC29C3 #C54EDA

Accessibility & contrast

On white

8.43
#7F1E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7F1E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1E90
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1E90#FFFFFF#000000##FFFFFF
##7F1E901.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004793
Deuteranopia (green-blind)
#2C518D
Tritanopia (blue-blind)
#803657
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7f1e90;
/* rgb */ color: rgb(127, 30, 144);
/* oklch */ color: oklch(44.5% 0.186 321.1);
Tailwind
colors: {
  custom: {
    50: '#a866b1',
    500: '#7f1e90',
    950: '#000000',
  },
}
SCSS
$custom: #7f1e90;
$custom-light: #a866b1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1e90",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 144
  },
  "hsl": {
    "h": 291.053,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44533,
    "c": 0.18552,
    "h": 321.1
  },
  "luminance": 0.07454
}

Semantic roles & 50–950 ramp

primary
#7F1E90
secondary
#5EBD4D
accent
#E83F59
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7F1E90

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

Preview Lab → · Contrast checker → · Palette generator →

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