#7F1E79#7F1E79

#7F1E79 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.167 H 330.8°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#7F1E79
RGBrgb(127, 30, 121)
HSLhsl(304, 62%, 31%)
HSVhsv(304, 76%, 50%)
CMYKcmyk(0%, 76.4%, 4.7%, 50.2%)
CIE-LABlab(31.40, 51.10, -29.52)
CIE-LCHlch(31.40, 59.01, 329.99°)
OKLaboklab(43.06% 0.1454 -0.0814)
OKLCHoklch(43.06% 0.167 330.8)
XYZxyz(12.6678, 6.8221, 18.7350)
Luminance0.0682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1E79 #1E7F24
analogous
#541E7F #7F1E79 #7F1E48
triadic
#7F1E79 #797F1E #1E797F
tetradic
#7F1E79 #7F541E #1E7F24 #1E487F
square
#7F1E79 #7F541E #1E7F24 #1E487F
split-complementary
#7F1E79 #487F1E #1E7F54
monochromatic
#1C071B #4D124A #7F1E79 #B12AA8 #D344CA

Accessibility & contrast

On white

8.88
#7F1E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7F1E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1E79
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1E79#FFFFFF#000000##FFFFFF
##7F1E791.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14417B
Deuteranopia (green-blind)
#3C4F77
Tritanopia (blue-blind)
#842B4A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f1e79;
/* rgb */ color: rgb(127, 30, 121);
/* oklch */ color: oklch(43.1% 0.167 330.8);
Tailwind
colors: {
  custom: {
    50: '#a765a0',
    500: '#7f1e79',
    950: '#000000',
  },
}
SCSS
$custom: #7f1e79;
$custom-light: #a765a0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1e79",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 303.711,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43064,
    "c": 0.16663,
    "h": 330.8
  },
  "luminance": 0.06821
}

Semantic roles & 50–950 ramp

primary
#7F1E79
secondary
#47B24D
accent
#E54D43
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #7F1E79

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

Preview Lab → · Contrast checker → · Palette generator →

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