#7F1E71#7F1E71

#7F1E71 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.160 H 334.6°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#7F1E71
RGBrgb(127, 30, 113)
HSLhsl(309, 62%, 31%)
HSVhsv(309, 76%, 50%)
CMYKcmyk(0%, 76.4%, 11%, 50.2%)
CIE-LABlab(30.96, 49.79, -25.14)
CIE-LCHlch(30.96, 55.78, 333.21°)
OKLaboklab(42.61% 0.145 -0.0688)
OKLCHoklch(42.61% 0.16 334.6)
XYZxyz(12.1974, 6.6339, 16.2577)
Luminance0.0663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1E71 #1E7F2C
analogous
#5C1E7F #7F1E71 #7F1E40
triadic
#7F1E71 #717F1E #1E717F
tetradic
#7F1E71 #7F5C1E #1E7F2C #1E407F
square
#7F1E71 #7F5C1E #1E7F2C #1E407F
split-complementary
#7F1E71 #407F1E #1E7F5C
monochromatic
#1C0719 #4D1245 #7F1E71 #B12A9D #D344BE

Accessibility & contrast

On white

9.03
#7F1E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7F1E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1E71
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1E71#FFFFFF#000000##FFFFFF
##7F1E711.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4073
Deuteranopia (green-blind)
#404E6F
Tritanopia (blue-blind)
#852645
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f1e71;
/* rgb */ color: rgb(127, 30, 113);
/* oklch */ color: oklch(42.6% 0.160 334.6);
Tailwind
colors: {
  custom: {
    50: '#a7659a',
    500: '#7f1e71',
    950: '#000000',
  },
}
SCSS
$custom: #7f1e71;
$custom-light: #a7659a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1e71",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 308.66,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42605,
    "c": 0.16046,
    "h": 334.6
  },
  "luminance": 0.06633
}

Semantic roles & 50–950 ramp

primary
#7F1E71
secondary
#47B256
accent
#E55A43
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7F1E71

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

Preview Lab → · Contrast checker → · Palette generator →

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