#7F1D91#7F1D91

#7F1D91 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.5% C 0.187 H 320.7°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#7F1D91
RGBrgb(127, 29, 145)
HSLhsl(291, 67%, 34%)
HSVhsv(291, 80%, 57%)
CMYKcmyk(12.4%, 80%, 0%, 43.1%)
CIE-LABlab(32.78, 55.69, -42.26)
CIE-LCHlch(32.78, 69.91, 322.80°)
OKLaboklab(44.53% 0.1451 -0.1185)
OKLCHoklch(44.53% 0.187 320.7)
XYZxyz(14.3020, 7.4359, 27.4645)
Luminance0.0743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1D91 #2F911D
analogous
#451D91 #7F1D91 #911D69
triadic
#7F1D91 #917F1D #1D917F
tetradic
#7F1D91 #91451D #2F911D #1D6991
square
#7F1D91 #91451D #2F911D #1D6991
split-complementary
#7F1D91 #69911D #1D9145
monochromatic
#26092B #52135E #7F1D91 #AC27C4 #C54DDB

Accessibility & contrast

On white

8.44
#7F1D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1D91
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1D91#FFFFFF#000000##FFFFFF
##7F1D911.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1d91;
/* rgb */ color: rgb(127, 29, 145);
/* oklch */ color: oklch(44.5% 0.187 320.7);
Tailwind
colors: {
  custom: {
    50: '#a866b2',
    500: '#7f1d91',
    950: '#000000',
  },
}
SCSS
$custom: #7f1d91;
$custom-light: #a866b2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1d91",
  "rgb": {
    "r": 127,
    "g": 29,
    "b": 145
  },
  "hsl": {
    "h": 290.69,
    "s": 66.667,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44525,
    "c": 0.18733,
    "h": 320.7
  },
  "luminance": 0.07435
}

Semantic roles & 50–950 ramp

primary
#7F1D91
secondary
#5EBE4C
accent
#EA3E59
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7F1D91

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

Preview Lab → · Contrast checker → · Palette generator →

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