#7F1473#7F1473

#7F1473 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.172 H 333.5°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#7F1473
RGBrgb(127, 20, 115)
HSLhsl(307, 73%, 29%)
HSVhsv(307, 84%, 50%)
CMYKcmyk(0%, 84.3%, 9.4%, 50.2%)
CIE-LABlab(30.04, 53.07, -27.86)
CIE-LCHlch(30.04, 59.94, 332.30°)
OKLaboklab(41.98% 0.1538 -0.0766)
OKLCHoklch(41.98% 0.172 333.5)
XYZxyz(12.0972, 6.2512, 16.7858)
Luminance0.0625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1473 #147F20
analogous
#56147F #7F1473 #7F143E
triadic
#7F1473 #737F14 #14737F
tetradic
#7F1473 #7F5614 #147F20 #143E7F
square
#7F1473 #7F5614 #147F20 #143E7F
split-complementary
#7F1473 #3E7F14 #147F56
monochromatic
#1A0418 #4A0C43 #7F1473 #B41CA3 #DE2FCB

Accessibility & contrast

On white

9.33
#7F1473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7F1473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1473
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1473#FFFFFF#000000##FFFFFF
##7F14731.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3D75
Deuteranopia (green-blind)
#3C4C71
Tritanopia (blue-blind)
#852144
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f1473;
/* rgb */ color: rgb(127, 20, 115);
/* oklch */ color: oklch(42.0% 0.172 333.5);
Tailwind
colors: {
  custom: {
    50: '#a8619b',
    500: '#7f1473',
    950: '#000000',
  },
}
SCSS
$custom: #7f1473;
$custom-light: #a8619b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1473",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 115
  },
  "hsl": {
    "h": 306.729,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41981,
    "c": 0.17181,
    "h": 333.5
  },
  "luminance": 0.0625
}

Semantic roles & 50–950 ramp

primary
#7F1473
secondary
#3BB448
accent
#EF4D38
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7F1473

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

Preview Lab → · Contrast checker → · Palette generator →

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