#7F1476#7F1476

#7F1476 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.2% C 0.174 H 332.2°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#7F1476
RGBrgb(127, 20, 118)
HSLhsl(305, 73%, 29%)
HSVhsv(305, 84%, 50%)
CMYKcmyk(0%, 84.3%, 7.1%, 50.2%)
CIE-LABlab(30.21, 53.54, -29.50)
CIE-LCHlch(30.21, 61.13, 331.14°)
OKLaboklab(42.16% 0.1538 -0.0813)
OKLCHoklch(42.16% 0.174 332.2)
XYZxyz(12.2726, 6.3214, 17.7098)
Luminance0.0632 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1476 #147F1D
analogous
#53147F #7F1476 #7F1441
triadic
#7F1476 #767F14 #14767F
tetradic
#7F1476 #7F5314 #147F1D #14417F
square
#7F1476 #7F5314 #147F1D #14417F
split-complementary
#7F1476 #417F14 #147F53
monochromatic
#1A0419 #4A0C45 #7F1476 #B41CA7 #DE2FD0

Accessibility & contrast

On white

9.28
#7F1476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7F1476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1476
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1476#FFFFFF#000000##FFFFFF
##7F14761.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083E78
Deuteranopia (green-blind)
#3A4C74
Tritanopia (blue-blind)
#852346
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f1476;
/* rgb */ color: rgb(127, 20, 118);
/* oklch */ color: oklch(42.2% 0.174 332.2);
Tailwind
colors: {
  custom: {
    50: '#a8619e',
    500: '#7f1476',
    950: '#000000',
  },
}
SCSS
$custom: #7f1476;
$custom-light: #a8619e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1476",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 118
  },
  "hsl": {
    "h": 305.047,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.42158,
    "c": 0.174,
    "h": 332.2
  },
  "luminance": 0.0632
}

Semantic roles & 50–950 ramp

primary
#7F1476
secondary
#3BB445
accent
#EF4838
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7F1476

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

Preview Lab → · Contrast checker → · Palette generator →

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