#7F1C77#7F1C77

#7F1C77 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.167 H 331.7°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#7F1C77
RGBrgb(127, 28, 119)
HSLhsl(305, 64%, 30%)
HSVhsv(305, 78%, 50%)
CMYKcmyk(0%, 78%, 6.3%, 50.2%)
CIE-LABlab(31.06, 51.42, -28.80)
CIE-LCHlch(31.06, 58.94, 330.75°)
OKLaboklab(42.78% 0.1472 -0.0793)
OKLCHoklch(42.78% 0.167 331.7)
XYZxyz(12.4974, 6.6755, 18.0795)
Luminance0.0667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1C77 #1C7F24
analogous
#551C7F #7F1C77 #7F1C46
triadic
#7F1C77 #777F1C #1C777F
tetradic
#7F1C77 #7F551C #1C7F24 #1C467F
square
#7F1C77 #7F551C #1C7F24 #1C467F
split-complementary
#7F1C77 #467F1C #1C7F55
monochromatic
#1B0619 #4D1148 #7F1C77 #B127A6 #D540C9

Accessibility & contrast

On white

8.99
#7F1C77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1C77
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1C77#FFFFFF#000000##FFFFFF
##7F1C771.008.992.338.99
#FFFFFF8.991.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134079
Deuteranopia (green-blind)
#3C4E75
Tritanopia (blue-blind)
#842848
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f1c77;
/* rgb */ color: rgb(127, 28, 119);
/* oklch */ color: oklch(42.8% 0.167 331.7);
Tailwind
colors: {
  custom: {
    50: '#a7649e',
    500: '#7f1c77',
    950: '#000000',
  },
}
SCSS
$custom: #7f1c77;
$custom-light: #a7649e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1c77",
  "rgb": {
    "r": 127,
    "g": 28,
    "b": 119
  },
  "hsl": {
    "h": 304.848,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42782,
    "c": 0.16723,
    "h": 331.7
  },
  "luminance": 0.06674
}

Semantic roles & 50–950 ramp

primary
#7F1C77
secondary
#44B34D
accent
#E74E41
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7F1C77

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

Preview Lab → · Contrast checker → · Palette generator →

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