#7F1A77#7F1A77

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

Color values

HEX#7F1A77
RGBrgb(127, 26, 119)
HSLhsl(305, 66%, 30%)
HSVhsv(305, 80%, 50%)
CMYKcmyk(0%, 79.5%, 6.3%, 50.2%)
CIE-LABlab(30.84, 52.04, -29.14)
CIE-LCHlch(30.84, 59.65, 330.76°)
OKLaboklab(42.63% 0.149 -0.0803)
OKLCHoklch(42.63% 0.169 331.7)
XYZxyz(12.4516, 6.5838, 18.0642)
Luminance0.0658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1A77 #1A7F22
analogous
#541A7F #7F1A77 #7F1A45
triadic
#7F1A77 #777F1A #1A777F
tetradic
#7F1A77 #7F541A #1A7F22 #1A457F
square
#7F1A77 #7F541A #1A7F22 #1A457F
split-complementary
#7F1A77 #457F1A #1A7F54
monochromatic
#190518 #4C1047 #7F1A77 #B224A7 #D73CCB

Accessibility & contrast

On white

9.07
#7F1A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7F1A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1A77
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1A77#FFFFFF#000000##FFFFFF
##7F1A771.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114079
Deuteranopia (green-blind)
#3C4D75
Tritanopia (blue-blind)
#852748
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f1a77;
/* rgb */ color: rgb(127, 26, 119);
/* oklch */ color: oklch(42.6% 0.169 331.7);
Tailwind
colors: {
  custom: {
    50: '#a8649e',
    500: '#7f1a77',
    950: '#000000',
  },
}
SCSS
$custom: #7f1a77;
$custom-light: #a8649e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1a77",
  "rgb": {
    "r": 127,
    "g": 26,
    "b": 119
  },
  "hsl": {
    "h": 304.752,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.42627,
    "c": 0.16929,
    "h": 331.7
  },
  "luminance": 0.06583
}

Semantic roles & 50–950 ramp

primary
#7F1A77
secondary
#42B34B
accent
#E94C3F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7F1A77

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

Preview Lab → · Contrast checker → · Palette generator →

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