#7F1471#7F1471

#7F1471 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.170 H 334.5°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#7F1471
RGBrgb(127, 20, 113)
HSLhsl(308, 73%, 29%)
HSVhsv(308, 84%, 50%)
CMYKcmyk(0%, 84.3%, 11%, 50.2%)
CIE-LABlab(29.93, 52.76, -26.77)
CIE-LCHlch(29.93, 59.16, 333.10°)
OKLaboklab(41.86% 0.1538 -0.0734)
OKLCHoklch(41.86% 0.17 334.5)
XYZxyz(11.9833, 6.2057, 16.1863)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1471 #147F22
analogous
#58147F #7F1471 #7F143C
triadic
#7F1471 #717F14 #14717F
tetradic
#7F1471 #7F5814 #147F22 #143C7F
square
#7F1471 #7F5814 #147F22 #143C7F
split-complementary
#7F1471 #3C7F14 #147F58
monochromatic
#1A0418 #4A0C42 #7F1471 #B41CA0 #DE2FC7

Accessibility & contrast

On white

9.37
#7F1471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7F1471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1471
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1471#FFFFFF#000000##FFFFFF
##7F14711.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123D73
Deuteranopia (green-blind)
#3D4C6F
Tritanopia (blue-blind)
#852043
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f1471;
/* rgb */ color: rgb(127, 20, 113);
/* oklch */ color: oklch(41.9% 0.170 334.5);
Tailwind
colors: {
  custom: {
    50: '#a8619a',
    500: '#7f1471',
    950: '#000000',
  },
}
SCSS
$custom: #7f1471;
$custom-light: #a8619a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1471",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 307.85,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41864,
    "c": 0.17036,
    "h": 334.5
  },
  "luminance": 0.06205
}

Semantic roles & 50–950 ramp

primary
#7F1471
secondary
#3BB44A
accent
#EF5038
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7F1471

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

Preview Lab → · Contrast checker → · Palette generator →

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